Skip to content
This repository was archived by the owner on Feb 18, 2025. It is now read-only.
This repository was archived by the owner on Feb 18, 2025. It is now read-only.

orchestrator-client does not switch to gsed on BSD/Darwin systems #794

@cswingler

Description

@cswingler

orchestrator-client uses the sed in the default path. BSD sed does not include flags like -E, -r, --regexp-extended, which results in orchestrator-client --help returning this:

sed: illegal option -- r
usage: sed script [-Ealn] [-i extension] [file ...]
       sed [-Ealn] [-i extension] [-e script] ... [-f script_file] ... [file ...]

Though it could be rewritten to support BSD sed, it's probably safe to assume that the system has gsed installed (as the script already makes the assumption that jq is installed).

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