🚀 go-pugleaf

RetroBBS NetNews Server

Inspired by RockSolid Light RIP Retro Guy

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

Problemas con script de shell, Ayuda

#13271
From: smv28
Date: Wed, 07 Mar 2001 16:32
9 lines
1188 bytes
Estoy haciendo un script en shell pero tengo problemas con una variable.

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

donde linea lo cargo de un bluce, pero la variable var1 no me lo carga.

Lo curioso es que un poco mas arriba tengo vart = echo $linea|cut -c1 y aqui
si que me carga la variable.
Yo creo que el  problema puede estar en las ""  del cut �?
Technical Details
Message-ID: <985noq$io3$1@diana.bcn.ttd.net>
Path: arc1-ca.pugleaf.net!supernews.google.com!sn-xit-03!supernews.com!cyclone-sf.pbi.net!63.208.208.143!feed2.onemain.com!feed1.onemain.com!newsfeed.online.be!fu-berlin.de!newsfeed.bcn.ttd.net!news.bcn.ttd.net!not-for-mail

Show Full Headers
Complete Article Headers
X-Google-Language: SPANISH,ASCII
X-Google-Thread: f86c8,9f64e8f198bceaa8,start
X-Google-Attributes: gidf86c8,public
X-Google-ArrivalTime: 2001-03-07 08:36:20 PST
Path: arc1-ca.pugleaf.net!supernews.google.com!sn-xit-03!supernews.com!cyclone-sf.pbi.net!63.208.208.143!feed2.onemain.com!feed1.onemain.com!newsfeed.online.be!fu-berlin.de!newsfeed.bcn.ttd.net!news.bcn.ttd.net!not-for-mail
From: "smv28" <smv28@hotmail.com>
Newsgroups: es.comp.os.linux.programacion
Subject: Problemas con script de shell, Ayuda
Date: Wed, 7 Mar 2001 17:32:50 +0100
Organization: Telefonica Transmision de Datos
Lines: 11
Message-ID: <985noq$io3$1@diana.bcn.ttd.net>
NNTP-Posting-Host: 194.143.206.250
X-Priority: 3
X-MSMail-Priority: Normal
X-Newsreader: Microsoft Outlook Express 5.00.2919.6700
X-MimeOLE: Produced By Microsoft MimeOLE V5.00.2919.6700