🚀 go-pugleaf

RetroBBS NetNews Server

Inspired by RockSolid Light RIP Retro Guy

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

Problema de filtrado

#2018
From: Eris Pluvia
Date: Tue, 07 Jun 2005 11:50
28 lines
1651 bytes
-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1

Tengo un texto cuyas líneas tienen todas una estructura idéntica y que
quiero filtrar, aprovechando esa regularidad.

Por ejemplo, por cada línea de texto de entrada quiero crear varias líneas
de salida: la primera debe contener los, digamos, 4 primeros caracteres; la
segunda líneas los siguientes 8 y así.

¿Qué programa me aconsejaríais? ¿'sed', 'gawk'? Por favor, dadme una pista
acerca de las opciones que emplearíais, para que pueda ir al "man" sobre
algo más seguro.

Gracias,


- -- 
Eris Pluvia 
Usuario registrado GNU/Linux: 145900 / Máquina 'anarres': 204204
http://pgp.rediris.es:11371/pks/lookup?op=get&search=0x18BE286C
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.2.5 (GNU/Linux)

iD8DBQFCpYoFJGhdcRi+KGwRArsHAJ4upJFRSnS9/Xkx1VsFY/w7bYGJlQCeMv3h
Tv7Ww4CsyJizCvr30CqIxX8=
=noVC
-----END PGP SIGNATURE-----
Technical Details
Message-ID: <d841ml$k4l$1@domitilla.aioe.org>
Path: arc1-ca.pugleaf.net!g2news1.google.com!news3.google.com!news.glorb.com!news.newsland.it!ilaria.aioe.org!aioe.org!not-for-mail

Show Full Headers
Complete Article Headers
X-Google-Thread: f86c8,fa63563240fd15c0,start
X-Google-Attributes: gidf86c8,public
X-Google-Language: SPANISH,UTF8
Path: arc1-ca.pugleaf.net!g2news1.google.com!news3.google.com!news.glorb.com!news.newsland.it!ilaria.aioe.org!aioe.org!not-for-mail
From: Eris Pluvia <eris_pluvia@yahoo.es>
Newsgroups: es.comp.os.linux.programacion
Subject: Problema de filtrado
Date: Tue, 07 Jun 2005 13:50:22 +0200
Organization: Muy Poca
Lines: 28
Message-ID: <d841ml$k4l$1@domitilla.aioe.org>
NNTP-Posting-Host: wJL0GZbBvSsfMVfznw2bag.domitilla.aioe.org
Mime-Version: 1.0
Content-Type: text/plain; charset=utf-8
Content-Transfer-Encoding: 8Bit
X-Complaints-To: abuse@aioe.org
NNTP-Posting-Date: Tue, 7 Jun 2005 11:50:46 +0000 (UTC)
User-Agent: KNode/0.8.2