[Sussex] Sed One Liner

John Patrick nhoj.patrick at gmail.com
Sat Aug 16 21:24:08 UTC 2008


Cheers,

Just want I was looking for.

pre comit
$ sed "s|`pwd`|ROOT_DIR|g" TEST > TEST

post sync.
$ sed "s|ROOT_DIR|`pwd`|g" TEST > TEST

John
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://mailman.lug.org.uk/pipermail/sussex/attachments/20080816/a8b54198/attachment.htm 


More information about the Sussex mailing list