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 -e "s/^.*\? //g"` I had to use the back quotes`` thanx