Hi Cameron,

> I used bsed for this:
> 
>  http://www.zip.com.au/~cs/scripts/bsed
> 
> It's a wrapper for sed (which reads stdin and writes stdout).
> 
> Thusly:
> 
>  bsed 's/this/that/' several filenames here ...
> 
> or
> 
>  find dir -type f -print | xargs bsed '/a regexp i dont like/d'
> 
> Pretty much takes the same arguments as sed (surpise surprise).

 Somebody at work already advised me to use sed for this. Your script came in 
handy. I didn't have a closer look at your collection of scripts yet, but I 
will soon.
 Thanx mate! :)

                                        Bye,

                                        Leonard.



_______________________________________________
Redhat-list mailing list
[EMAIL PROTECTED]
https://listman.redhat.com/mailman/listinfo/redhat-list

Reply via email to