[Gllug] probs with sed

Doug Winter doug at pigeonhold.com
Tue Jul 1 15:05:54 UTC 2003


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

doug.

-- 
Core GNOME developers are heavy Ketamine users 
    -- http://www.illusionary.com/GNOMEvKDE.html
-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: application/pgp-signature
Size: 240 bytes
Desc: not available
URL: <http://mailman.lug.org.uk/pipermail/gllug/attachments/20030701/15d527f9/attachment.pgp>


More information about the GLLUG mailing list