Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

sed: illegal option -- r #3

Open
massipasquesi opened this issue Mar 5, 2018 · 0 comments
Open

sed: illegal option -- r #3

massipasquesi opened this issue Mar 5, 2018 · 0 comments
Assignees
Labels
known issue problem already known OSX OSX issues

Comments

@massipasquesi
Copy link
Member

massipasquesi commented Mar 5, 2018

Problem :

# git++ help
Available commands:
sed: illegal option -- r
usage: sed script [-Ealn] [-i extension] [file ...]
       sed [-Ealn] [-i extension] [-e script] ... [-f script_file] ... [file ...]
  help        	
sed: illegal option -- r
usage: sed script [-Ealn] [-i extension] [file ...]
       sed [-Ealn] [-i extension] [-e script] ... [-f script_file] ... [file ...]
  list        	
sed: illegal option -- r
usage: sed script [-Ealn] [-i extension] [file ...]
       sed [-Ealn] [-i extension] [-e script] ... [-f script_file] ... [file ...]
  version     	
sed: illegal option -- r
usage: sed script [-Ealn] [-i extension] [file ...]
       sed [-Ealn] [-i extension] [-e script] ... [-f script_file] ... [file ...]
  hello       	

Solution on OSX with brew:
brew install gnu-sed --default-names

If still not working remove default sed binarie in /bon/sed and make a symlink :
sudo ln -s /usr/local/bin/gnu-sed /bin/sed

@massipasquesi massipasquesi added the known issue problem already known label Mar 5, 2018
@massipasquesi massipasquesi self-assigned this Mar 5, 2018
@massipasquesi massipasquesi added the OSX OSX issues label Mar 5, 2018
@massipasquesi massipasquesi reopened this Nov 12, 2018
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
known issue problem already known OSX OSX issues
Projects
None yet
Development

No branches or pull requests

1 participant