🚀 go-pugleaf

RetroBBS NetNews Server

Inspired by RockSolid Light RIP Retro Guy

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

DUDA SHELL SCRIPT

#10006
From: Javicho
Date: Fri, 12 Apr 2002 10:04
15 lines
1125 bytes
Hola, alguien me podria decir si se puede ( imagino que si) como seria un 
script que hiciera esto:

Dado un fichero de texto, lee una linea y la guarda en algun lado,
lee otra linea, y asi hasta el final.

He conseguido leer de un fichero con `cat fichero` pero me lee todas las 
lineas a la vez

Gracias


-- 
jdiego@grpss.ssr.upm.es
Technical Details
Message-ID: <3cb6b041@news.upm.es>
Path: arc1-ca.pugleaf.net!archiver1.google.com!news1.google.com!newsfeed.stanford.edu!logbridge.uoregon.edu!news.rediris.es!news-2.rediris.es!138.100.251.9.MISMATCH!news.upm.es!138.4.40.3

Show Full Headers
Complete Article Headers
X-Google-Language: SPANISH,ASCII-7-bit
X-Google-Thread: f86c8,650490a3294f00d1,start
X-Google-Attributes: gidf86c8,public
X-Google-ArrivalTime: 2002-04-12 03:00:43 PST
From: Javicho <javicho@enfrente.de.ordenador>
Subject: DUDA SHELL SCRIPT
Newsgroups: es.comp.os.linux.programacion
Date: Fri, 12 Apr 2002 12:04:31 +0200
Lines: 16
Organization: GRPSS-UPM
User-Agent: KNode/0.6.1
MIME-Version: 1.0
Content-Type: text/plain; charset=us-ascii
Content-Transfer-Encoding: 7Bit
NNTP-Posting-Host: 138.4.40.3
Message-ID: <3cb6b041@news.upm.es>
X-Trace: 12 Apr 2002 12:00:33 +0100, 138.4.40.3
Path: arc1-ca.pugleaf.net!archiver1.google.com!news1.google.com!newsfeed.stanford.edu!logbridge.uoregon.edu!news.rediris.es!news-2.rediris.es!138.100.251.9.MISMATCH!news.upm.es!138.4.40.3