sed-devel
[Top][All Lists]
Advanced

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

sed help?


From: Larry Adkins
Subject: sed help?
Date: Wed, 17 Jan 2024 16:07:33 -0500

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


reply via email to

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