Re: SED question RESOLVED

1999-10-22 Thread Greg Wooledge
Andrew Hately ([EMAIL PROTECTED]) wrote: Back quotes can't be nested, while $( ) does the same job and can be nested Actually, you can nest backquotes as long as you \-escape them. $( ) is great, but if you're ever going to use a traditional Bourne shell, you won't be able to use it -- so make

Re: SED question RESOLVED

1999-10-21 Thread Ben Lutgens
On Thu, Oct 21, 1999 at 09:53:26AM +0200, Andrew Hately wrote: What do you want in the variable? Multiple lines? Did you try set foo=$( grep florida roam.db | sed -e s/^.*\? //g ) Whats the greater context? Andrew I finally got it with export GREP_RESULT=`grep $LOCATION $HOME/roam.db | sed

Re: SED question RESOLVED

1999-10-21 Thread Andrew Hately
Ben Lutgens wrote: I had to use the back quotes`` Back quotes can't be nested, while $( ) does the same job and can be nested -- http://counter.li.org/cgi-bin/runscript/display-person.cgi?user=45690