Re: Simplest sed

From: Jochen Cichon (jc@versainter.net)
Date: Wed Nov 22 2000 - 09:49:20 CET


Hm I have to test myself :(

So the friend here is right. U have to escape the . (and sometimes the < and >)
:(

> Hm. OK sed :)
...
> cat file | sed 's/old.h/new.h/g' >newfile
...
> :1,$s/old.h/new.h/g

Ciao Jochen

---------------------------------------------------------------------
To unsubscribe, e-mail: mulinux-unsubscribe@sunsite.auc.dk
For additional commands, e-mail: mulinux-help@sunsite.auc.dk



This archive was generated by hypermail 2.1.6 : Sat Feb 08 2003 - 15:27:16 CET