[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

Re: SED question



On Wed, Oct 20, 1999 at 11:37:26PM -0800,
Ben Lutgens <blutgens@mosquitonet.com> wrote:
> I am writing a shell script using sed I need to figure out how I can store the
> output of 
> 
> grep florida roam.db | sed -e "s/^.*\? //g"
> 
> to a variable. roam.db has entries like, one per line.

value=`grep florida roam.db | sed -e "s/^.*\? //g"`

Those are backticks (`), not apostrophes (').

-- 
Eric Gillespie, Jr. <*> epg@pobox.com

"Man is a rope, tied between beast and overman--a rope over an abyss.
 A dangerous across, a dangerous on-the-way, a dangerous looking-back,
 a dangerous shuddering and stopping."
 --Friedrich Nietzsche

Attachment: pgpOIE4iAHuTh.pgp
Description: PGP signature


Reply to: