🚀 go-pugleaf

RetroBBS NetNews Server

Inspired by RockSolid Light RIP Retro Guy

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

Re: [OT] una pregunta de examen

#10525
From: nacius
Date: Wed, 20 Feb 2002 18:45
49 lines
1928 bytes
pip wrote:

> Si tenemos dos ficheros con datos
> 
> El fich1.dat contiene:
> 
> 001:Jose:Perez
> 002:Juan:Camps
> 004:Luis:Bisbal
> 003:Pedro:Guerra
> 
> 
> El fich2.dat contiene:
> 
> Pintor:002
> Cantante:004
> Informatico:001
> Compositor:003
> 
> PREGUNTA: �Como se puede generar, con comandos Unix, un fichero
> RESULTADO.DAT que contenga:
> RESULTADO.dat
> 001:Jose:Perez::Informatico
> 002:Juan:Camps::Pintor
> 004:Luis:Bisbal::Cantante
> 003:Pedro:Guerra::Compositor
> 
> Muchas gracias por la atencion.
> Jose.
> 
> (Perdon por el Off Topic)
> 
> 
> 

UNA COSA MAS SENCILLA: vi RESULTADOS.DAT

> 001:Jose:Perez::Informatico
> 002:Juan:Camps::Pintor
> 004:Luis:Bisbal::Cantante
> 003:Pedro:Guerra::Compositor 

wq 

Y ARREGLADO :-D  

vale vale soy un gilipollas y no tengo remedio pero es que no he podido 
evitar esta humorado, ya me pongo serio otra vez. Un saludo
nacius
Technical Details
Message-ID: <H9Sc8.4200$sZ4.64847@news.ono.com>
Path: arc1-ca.pugleaf.net!archiver1.google.com!news1.google.com!newsfeed.stanford.edu!newsfeeds.belnet.be!news.belnet.be!cleanfeed.casema.net!leda.casema.net!bnewspeer01.bru.ops.eu.uu.net!emea.uu.net!newsf01.ono.com!news.ono.com.POSTED!not-for-mail
References: <a4vth7$4qf$1@news.ua.es>

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 10:45:19 PST
Path: arc1-ca.pugleaf.net!archiver1.google.com!news1.google.com!newsfeed.stanford.edu!newsfeeds.belnet.be!news.belnet.be!cleanfeed.casema.net!leda.casema.net!bnewspeer01.bru.ops.eu.uu.net!emea.uu.net!newsf01.ono.com!news.ono.com.POSTED!not-for-mail
From: nacius <panfilia@ono.com>
Subject: Re: [OT] una pregunta de examen
Newsgroups: es.comp.os.linux.programacion
Reply-To: panfilia@ono.com
References: <a4vth7$4qf$1@news.ua.es>
Lines: 49
Organization: ninguna,tododesorden
User-Agent: KNode/0.4
MIME-Version: 1.0
Content-Type: text/plain; charset=iso-8859-1
Content-Transfer-Encoding: 8Bit
Message-ID: <H9Sc8.4200$sZ4.64847@news.ono.com>
Date: Wed, 20 Feb 2002 18:45:59 GMT
NNTP-Posting-Host: 62.42.156.59
X-Trace: news.ono.com 1014230759 62.42.156.59 (Wed, 20 Feb 2002 19:45:59 MET)
NNTP-Posting-Date: Wed, 20 Feb 2002 19:45:59 MET