🚀 go-pugleaf

RetroBBS NetNews Server

Inspired by RockSolid Light RIP Retro Guy

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

Re: [OT] una pregunta de examen

#10658
From: Santiago Romero
Date: Wed, 20 Feb 2002 14:22
23 lines
1653 bytes
El 20 Feb 2002 05:53:20 -0800, Rafael Moreno Jimenez escribi�:
> Lo siento, no he podido resistirme
> 
> for linea in  $(cat fich1.dat); do
>   clave=$(echo $linea|cut -f1 -d:)
>   profesion=$(grep $clave fich2.dat|cut -f1 -d:)
>   echo "$linea::$profesion" >>RESULTADO.DAT
> done   

 Me parece que le acabas de resolver una pr�ctica de clase...

 saludos! :)

-- 
Santiago Romero
Departamento de Sistemas
sromero@servicom2000.com

Av. Primado Reig 189, entlo
46020 Valencia - Spain
Telf. (+34) 96 332 12 00
Fax. (+34) 96 332 12 01
http://www.servicom2000.com
Technical Details
Message-ID: <slrna77ca3.9f0.sromero@compiler.servicom2000>
Path: arc1-ca.pugleaf.net!archiver1.google.com!news1.google.com!newsfeed.stanford.edu!news-spur1.maxwell.syr.edu!news.maxwell.syr.edu!newsfeed00.sul.t-online.de!newsfeed01.sul.t-online.de!t-online.de!fu-berlin.de!uni-berlin.de!top.servicom2000.COM!not-for-mail
References: <a4vth7$4qf$1@news.ua.es> <74eb6167.0202200553.51a7f4b3@posting.google.com>

Show Full Headers
Complete Article Headers
X-Google-Language: SPANISH,ASCII
X-Google-Thread: f86c8,cf1b769eafe4ae69
X-Google-Attributes: gidf86c8,public
X-Google-ArrivalTime: 2002-02-20 06:25:25 PST
Path: arc1-ca.pugleaf.net!archiver1.google.com!news1.google.com!newsfeed.stanford.edu!news-spur1.maxwell.syr.edu!news.maxwell.syr.edu!newsfeed00.sul.t-online.de!newsfeed01.sul.t-online.de!t-online.de!fu-berlin.de!uni-berlin.de!top.servicom2000.COM!not-for-mail
From: Santiago Romero <sromero@servicom2000.com>
Newsgroups: es.comp.os.linux.programacion
Subject: Re: [OT] una pregunta de examen
Date: Wed, 20 Feb 2002 15:22:59 +0100
Lines: 24
Message-ID: <slrna77ca3.9f0.sromero@compiler.servicom2000>
References: <a4vth7$4qf$1@news.ua.es> <74eb6167.0202200553.51a7f4b3@posting.google.com>
Reply-To: sromero@servicom2000.com
NNTP-Posting-Host: top.servicom2000.com (212.101.64.178)
Mime-Version: 1.0
Content-Type: text/plain; charset=iso-8859-1
Content-Transfer-Encoding: 8bit
X-Trace: fu-berlin.de 1014215124 3833236 212.101.64.178 (16 [39726])
X-Orig-Path: 127.0.0.1!nobody
User-Agent: slrn/0.9.7.3 (Linux)