sed within `` in Bourn Shell isn't Working.

Josh Holland jrh at joshh.co.uk
Sat Mar 21 18:46:42 UTC 2009


On Sat, Mar 21, 2009 at 07:35:17PM +0100, Thomas Kaiser wrote:
> Try this:
> uid=`echo "ABC\DEF" | sed 's/\\\/\\\\\\\/g'`; echo $uid
ZOMGWTFLOLOLOL!!!!!!!11one!
Got enough backslashes there ;)?

-- 
Josh Holland <jrh at joshh.co.uk>
http://joshh.co.uk
madmartian on irc.freenode.net




More information about the ubuntu-users mailing list