sed-devel
[Top][All Lists]
Advanced

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

Re: sed help?


From: hiroshi morimoto
Subject: Re: sed help?
Date: Thu, 18 Jan 2024 12:43:45 +0900

On Wed, 17 Jan 2024 16:07:33 -0500
Larry Adkins <adkins.larry@gmail.com> wrote:
sed -e 's/sort\/e/sort/gI' input.txt > output.txt
> Hello,
> 
> My hope is that someone is paying attention to this inbox. I haven't been
> able to find any documentation that describes how to handle this scenario.
> 
> I'm trying to find each instance of the string in a file: sort/e
> and replace it with the string: sort
> 
> That's it. Should be easy, but not for me :)
> 
> Here's the command line I'm trying to execute:
> c:\Program Files (x86)\GnuWin32\bin>sed -e 's/sort\e\sort/gI' input.txt >
> output.txt
> 
> This is what is returned:
> sed: -e expression #1, char 1: unknown command: `''
> 
> Any help is appreciated, thanks in advance!
> Larry


-- 
hiroshi morimoto <mb63ue37ml@kcn.jp>



reply via email to

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