|
Programming C, bash, Python, Perl, PHP, Java, you name it. |
|
Thread Tools | Display Modes |
|
|||
escape single quote in sed
I've googled the all world, but can't find the answer to this question:
I need to replace in a file s' (s plus single quote) with another character (one character in the place of two). I tried this (and many other variants): Code:
sed 's/s\'/X/' file > newfile Code:
> |
Thread Tools | |
Display Modes | |
|
|
Similar Threads | ||||
Thread | Thread Starter | Forum | Replies | Last Post |
Remap colour escape codes | bsdperson | FreeBSD General | 2 | 14th September 2009 10:52 AM |
I need to set up a firewall and DNS server on a single computer HELP PLEASE | kla | OpenBSD General | 8 | 4th June 2009 08:38 PM |
Single instance of VLC player | maxrussell | General software and network | 1 | 8th February 2009 03:57 PM |
can't get out of twm - any escape? | Lazy | FreeBSD General | 4 | 28th June 2008 07:26 PM |