Simplest sed

From: Mark Roberts (mu@manumark.de)
Date: Tue Nov 21 2000 - 23:00:26 CET


Hi all,

I have a blind eyed question: while I have plenty of experience with awk,
I have never ever used sed. How do I make sed replace one thing by
another (surely, that's what you use sed for?)? For example, how do I
replace all occurences of #include <old.h> by #include <new.h> in a
c-program?

Thanks. There's always a first time. Mine is today.

Mark

P.S. I tried the sed-man-page, of course, but it was hardly helpful

---------------------------------------------------------------------
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