RedHat-Middleware-Workshops/workshop-amq-streams

Issue in Mac Os while running sed command

Opened this issue · 1 comments

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

Thank you!