Skip to content

sed error on FreeBSD due to GNU extensions #65

Description

@yggdr

virtualenvwrapper uses GNU extension like \s in sed regexes instead of POSIX [[:space:]]. This makes it fail on non-GNU systems like FreeBSD.

Possible solutions:

  1. replace GNU extensions with POSIX ones
  2. check for the presence of GNU sed by the name of gsed (which is available in packages on Free- and OpenBSD) and use that if available

Activity

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions