Path: utzoo!utgpu!news-server.csri.toronto.edu!cs.utexas.edu!helios!bcm!convex!news From: tchrist@convex.COM (Tom Christiansen) Newsgroups: comp.unix.shell Subject: Re: sed 's/foobar/$string/g'.... can't do this? Message-ID: <1991Feb01.000557.3532@convex.com> Date: 1 Feb 91 00:05:57 GMT References: <2586@root44.co.uk> <8872@star.cs.vu.nl> <2589@root44.co.uk> Sender: news@convex.com (news access account) Reply-To: tchrist@convex.COM (Tom Christiansen) Distribution: comp Organization: CONVEX Software Development, Richardson, TX Lines: 26 Nntp-Posting-Host: pixel.convex.com From the keyboard of gwc@root.co.uk (Geoff Clare): :}) :})Xstring=`sed 's/[\/&\\]/\\&/g' <)