Skip to content

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

Description

@doflink

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

Activity

  1. bitprophet commented on Feb 21, 2017

    @bitprophet
    Member

    Rolling into PR discussion.

  2. added a commit that references this issue on Mar 2, 2017
  3. sablesoft commented on Jul 12, 2017

    @sablesoft

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

  4. ayobamiseun commented on Sep 14, 2022

    @ayobamiseun

    how do you fix this on vscode

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

Metadata

Metadata

Assignees

No one assigned

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions