Skip to content

Issue in Mac Os while running sed command #13

Open
@metaversed

Description

sed -i 's/namespace: .*/namespace: amq-streams/' install/cluster-operator/RoleBinding.yaml
While running above got message "sed: 1: "install/cluster-operato ...": command i expects \ followed by text"

Solved by running some recommendation from StackOverflow

https://stackoverflow.com/questions/4247068/sed-command-with-i-option-failing-on-mac-but-works-on-linux

Ran
brew install gnu-sed
Set Alias
alias sed=gsed

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