Path: utzoo!utgpu!news-server.csri.toronto.edu!cs.utexas.edu!sun-barr!lll-winken!sol.ctr.columbia.edu!spool.mu.edu!uunet!mcsun!ukc!pyrltd!root44!gwc From: gwc@root.co.uk (Geoff Clare) Newsgroups: comp.unix.shell Subject: Re: sed 's/foobar/$string/g'.... can't do this? Message-ID: <2589@root44.co.uk> Date: 31 Jan 91 15:26:54 GMT References: <1991Jan17.003856.469@unicorn.cc.wwu.edu> <135@edi386.UUCP> <1991Jan21.124531.27867@siesoft.co.uk> <7ejp01gY0c.900@amdahl.uts.a <1064@mwtech.UUCP> <2586@root44.co.uk> <8872@star.cs.vu.nl> Distribution: comp Organization: UniSoft Ltd., London, England Lines: 30 In <8872@star.cs.vu.nl> maart@cs.vu.nl (Maarten Litmaath) writes: }In article <2586@root44.co.uk>, } gwc@root.co.uk (Geoff Clare) writes: }) })Xstring=`sed 's/[\/&\\]/\\&/g' < (Dumb American mailers: ...!uunet!root.co.uk!gwc) UniSoft Limited, London, England. Tel: +44 71 729 3773 Fax: +44 71 729 3273