[Top][All Lists]

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

RE: sed: invalid option -- i

From: Niraj Gandhi
Subject: RE: sed: invalid option -- i
Date: Wed, 7 Sep 2016 08:38:59 +0000

Thanks for the quick response!
I think the issue is due to older version installed. I have GNU sed version 
3.02 installed in my machine. This version is cause of the error.
While GNU sed version 4.1.5 installed in the another machine works perfectly 


-----Original Message-----
From: Bob Proulx [mailto:address@hidden 
Sent: 07 September, 2016 12:42 PM
To: Niraj Gandhi <address@hidden>
Cc: address@hidden
Subject: Re: sed: invalid option -- i

Niraj Gandhi wrote:
> Can you please help me understand/resolve following error?:
> sed: invalid option -- i
> Usage: sed [OPTION]... {script-only-if-no-other-script} [input-file]...

Unfortunately you did not include the command you ran to get that error.  If 
you don't tell us and show us verbatim then how are we to know what you did?  
Please say exactly what command you ran.

Also tell us what version of GNU sed you are using.  It seems possible that you 
are not actually using GNU sed at all.

  sed --version


reply via email to

[Prev in Thread] Current Thread [Next in Thread]