[Gllug] probs with sed
Richard Cohen
richard at vmlinuz.org
Tue Jul 1 15:12:32 UTC 2003
On Tue, 1 Jul 2003, Doug Winter wrote:
> On Tue 01 Jul Paul McCourt wrote:
> > its driving me nutz, and its my ignorance that is making me most angry.
> >
> > I have to list some files, then add a fixed string to the start of each
> > line and the end of each line.
>
> $ sed -e's/\(.*\)/foo \1 bar/'
echo foo $filename bar
Or am I missing something here?
> doug.
Cheers
Richard
--
Gllug mailing list - Gllug at linux.co.uk
http://list.ftech.net/mailman/listinfo/gllug
More information about the GLLUG
mailing list