Path: utzoo!utgpu!jarvis.csri.toronto.edu!mailrus!purdue!haven!grebyn!macom1!rikki From: rikki@macom1.UUCP (R. L. Welsh) Newsgroups: comp.unix.questions Subject: Re: Why doesn't this work ? Message-ID: <4854@macom1.UUCP> Date: 16 Jun 89 12:06:16 GMT References: <443@fdmetd.uucp> Organization: CENTEL Federal Systems, Reston, VA. 22091-1506 Lines: 11 From article <443@fdmetd.uucp>, by jon@fdmetd.uucp (Jon Ivar Tr|stheim): > Why does not the following command work in a Bourne shell script ? > USERID=`expr "`id`" : 'uid=\([0-9]*\)(.*'` Try doing: USERID=`expr "\`id\`" : 'uid=\([0-9]*\)(.*'` Because ` will still work inside ". -- - Rikki (UUCP: grebyn!macom1!rikki)