🚀 go-pugleaf

RetroBBS NetNews Server

Inspired by RockSolid Light RIP Retro Guy

Article View: es.comp.os.linux.programacion
Article #13274

Re: Problemas con script de shell, Ayuda

#13274
From: J.A. Gutierrez
Date: Wed, 07 Mar 2001 19:34
14 lines
1337 bytes
smv28 <smv28@hotmail.com> wrote:


: var1 = echo $linea|cut -f9 d" "

	si esperas que $linea tenga espacios:

	var1 = `echo "$linea" | cut -f9 d" "`

-- 
PGP and other useless info at      \                 La ciencia-ficcion es
http://www.cps.unizar.es/~spd/      \                 ese futuro en el que
finger://daphne.cps.unizar.es/spd    \                 lo seguro es que ya
ftp://ivo.cps.unizar.es/pub/          \    (F. Alfaro)  no seremos jovenes
Technical Details
Message-ID: <9862fc$upm$1@news.unizar.es>
Path: arc1-ca.pugleaf.net!supernews.google.com!sn-xit-03!supernews.com!logbridge.uoregon.edu!news.rediris.es!news.unizar.es!not-for-mail
References: <985noq$io3$1@diana.bcn.ttd.net>

Show Full Headers
Complete Article Headers
X-Google-Language: SPANISH,ASCII-7-bit
X-Google-Thread: f86c8,9f64e8f198bceaa8
X-Google-Attributes: gidf86c8,public
X-Google-ArrivalTime: 2001-03-07 11:22:33 PST
Path: arc1-ca.pugleaf.net!supernews.google.com!sn-xit-03!supernews.com!logbridge.uoregon.edu!news.rediris.es!news.unizar.es!not-for-mail
From: "J.A. Gutierrez" <spd@daphne.cps.unizar.es>
Newsgroups: es.comp.os.linux.programacion
Subject: Re: Problemas con script de shell, Ayuda
Date: 7 Mar 2001 19:34:04 GMT
Organization: Rank
Lines: 14
Message-ID: <9862fc$upm$1@news.unizar.es>
References: <985noq$io3$1@diana.bcn.ttd.net>
NNTP-Posting-Host: daphne.cps.unizar.es
X-Trace: news.unizar.es 983993644 31542 155.210.152.20 (7 Mar 2001 19:34:04 GMT)
X-Complaints-To: usenet@news.unizar.es
NNTP-Posting-Date: 7 Mar 2001 19:34:04 GMT
User-Agent: tin/1.4.4-20000803 ("Vet for the Insane") (UNIX) (IRIX/6.2 (IP22))