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

OS X Yosemite “sed: illegal option -- r” fatal error #1526

Closed
doflink opened this Issue Nov 9, 2016 · 2 comments

Comments

Projects
None yet
3 participants
@doflink

doflink commented Nov 9, 2016

I'm using fabric to deploy a system on MAC. However, I got the following issue.

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

Fatal error: run() received nonzero return code 1 while executing!

The configuration of the machine:
MAC OS: OS X Yosemite
version 10.10.2
Fabric 1.10.2
Paramiko 1.15.2
Python 2.7.10

@bitprophet

This comment has been minimized.

Member

bitprophet commented Feb 21, 2017

Rolling into PR discussion.

@bitprophet bitprophet closed this Feb 21, 2017

bitprophet added a commit that referenced this issue Mar 2, 2017

@sablerom

This comment has been minimized.

sablerom commented Jul 12, 2017

just use 'sed -E' instead 'sed -r'

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