Simplest sed

From: Mark Roberts (
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

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


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

To unsubscribe, e-mail:
For additional commands, e-mail:

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