🚀 go-pugleaf

RetroBBS NetNews Server

Inspired by RockSolid Light RIP Retro Guy

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

script en bash

#7215
From: Esteban Navarro
Date: Wed, 19 Mar 2003 18:12
29 lines
1622 bytes
-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1

Tengo un fichero de texto con datos numerados, por ejemplo:

0001 datos
0002 datos
0003 datos
0007 datos

Lo que quiero es un script que detecte los numeros que faltan. En el ejemplo
anterior faltan el 0004, 0005 y 0006

El fichero que tengo va desde el 0001 al 8000 y quiero saber que campos me
faltan por rellenar. Lo que quiero es un script que me devuelva el
resulktado de los campos que me faltan.

�Se puede hacer en bash?
- -- 
Esteban Navarro
Fondos de Escritorio:
http://www.personal.able.es/ensoriano
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.2.1 (GNU/Linux)

iD8DBQE+eLMaoVO1uCntWAwRAoWxAJ97s7ZXqfoLzlAJEp/KdKWQjOvp6wCdGjHa
jbnS3k7Dtf5gJEVHacXKDRg=
=qirl
-----END PGP SIGNATURE-----
Technical Details
Message-ID: <b5abt5$26m7d5$1@ID-158006.news.dfncis.de>
Path: arc1-ca.pugleaf.net!archiver1.google.com!news1.google.com!newsfeed.stanford.edu!news-spur1.maxwell.syr.edu!news.maxwell.syr.edu!newsfeed.icl.net!newsfeed.fjserv.net!newsfeed.arcor-online.net!fu-berlin.de!uni-berlin.de!62.101.160.33!not-for-mail

Show Full Headers
Complete Article Headers
X-Google-Language: SPANISH,ASCII
X-Google-Thread: f86c8,16ef105c94f25822,start
X-Google-Attributes: gidf86c8,public
X-Google-ArrivalTime: 2003-03-19 10:11:51 PST
Path: arc1-ca.pugleaf.net!archiver1.google.com!news1.google.com!newsfeed.stanford.edu!news-spur1.maxwell.syr.edu!news.maxwell.syr.edu!newsfeed.icl.net!newsfeed.fjserv.net!newsfeed.arcor-online.net!fu-berlin.de!uni-berlin.de!62.101.160.33!not-for-mail
From: Esteban Navarro <scandisk@able.es>
Newsgroups: es.comp.os.linux.programacion
Subject: script en bash
Date: Wed, 19 Mar 2003 19:12:39 +0100
Lines: 29
Message-ID: <b5abt5$26m7d5$1@ID-158006.news.dfncis.de>
NNTP-Posting-Host: 62.101.160.33
Mime-Version: 1.0
Content-Type: text/plain; charset=iso-8859-1
Content-Transfer-Encoding: 8Bit
X-Trace: fu-berlin.de 1048097510 74128805 62.101.160.33 (16 [158006])
User-Agent: KNode/0.7.2