From: Mark Roberts ([email protected])
Date: Wed Nov 22 2000 - 02:24:44 CET
On Wed, 22 Nov 2000 [email protected] wrote:
> sed -e 's/old\.h/new\.h/g' old.c > new.c
Thank you.
> http://www.cornerstonemag.com/sed/sedfaq.html
> http://www.cornerstonemag.com/sed/sedfaq.txt
> http://www.cornerstonemag.com/sed/sed1line.txt
Thanks again.
> And do take a look at regular expressions. It's well worth the
> trouble. They are used extensively everywhere in the *nix
> world. sed, grep, perl etc etc.
Yes, I quite agree. My problem was only sed, not the regular expressions.
I have written tools using lex and yacc, which proves I can cope with
regular expressions. I just somehow never needed sed ...
Happy hacking, Mark
---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]
This archive was generated by hypermail 2.1.6 : Sat Feb 08 2003 - 15:27:16 CET