Skip to main content

Thread: SED Script


what's up?

ok, want replace character word know command
code:
sed s/first/second/ output.txt >>finished.txt
but theirs prob, dont want replace word, thing want replace "/" word but.

code:
sed s///second/ output.txt >>finished.txt
wont work lolers. can suggest way around this?

bye.

use non-quoted backslash (\) escape character:
code:
sed "s/\//slash/" file.name >> blah


Forum The Ubuntu Forum Community Ubuntu Official Flavours Support General Help [ubuntu] SED Script


Ubuntu

Comments

Popular posts from this blog

Thread: PKI Client 5.00 install (for eToken Pro)

ATmega2560-Arduino Pin Mapping

Crossfader Arduino Tutorial