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

Created on 9 Nov 2016  ·  2Comments  ·  Source: fabric/fabric

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

Bug Needs investigation

Most helpful comment

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

All 2 comments

Rolling into PR discussion.

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

Was this page helpful?
0 / 5 - 0 ratings