Re: stupid shell tricks again

Etusivu
Liitteet:
Viesti alkuperäisessä muodossaan
+ (text/plain)
+ (application/pgp-signature)
Poista viesti
Vastaa
Lähettäjä: Bill Jonas
Päiväys:  
Vastaanottaja: plug-discuss
Aihe: Re: stupid shell tricks again
On Mon, Mar 22, 2004 at 05:29:35PM -0700, Craig White wrote:
> I will be dammed but I can't make the line above this one work...this is
> where the problem is...
> i=`echo $line | cut -f1`;


Try:
i=`echo $line | cut -d' ' -f1`;
instead.

-- 
Bill Jonas    *        *    http://www.billjonas.com/
"It's a dangerous business, Frodo, going out your front door.  You step
into the Road,  and if you don't keep your feet,  there  is  no knowing
where you might be swept off to."  --  Bilbo Baggins