🚀 go-pugleaf

RetroBBS NetNews Server

Inspired by RockSolid Light RIP Retro Guy

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

Re: shell script

#9397
From: J.A. Gutierrez
Date: Wed, 24 Jul 2002 09:30
16 lines
1417 bytes
Natxo Asenjo <natxete@tux.copon> wrote:

: Supongo que el tema de que lea todo lo que sale en la pantalla se arregla mediante algo relativo al standard output, la pregunta es como. Porque si pongo

: cat ./nombre_del_script > nombre_archivo.txt

	./script.sh | tee file.log 2>&1

	man sh
	man tee

-- 
PGP and other useless info at      \
http://www.cps.unizar.es/~spd/      \
finger://daphne.cps.unizar.es/spd    \       Timeo Danaos et dona ferentes
ftp://ivo.cps.unizar.es/pub/          \                         (Virgilio)   
Technical Details
Message-ID: <ahls3q$6l7$1@news.unizar.es>
Path: arc1-ca.pugleaf.net!archiver1.google.com!news1.google.com!newsfeed.stanford.edu!logbridge.uoregon.edu!isdnet!news.rediris.es!news.unizar.es!not-for-mail
References: <slrnajrieu.lb.natxete@tux.copon>

Show Full Headers
Complete Article Headers
X-Google-Language: SPANISH,ASCII-7-bit
X-Google-Thread: f86c8,9170de2339ff79db
X-Google-Attributes: gidf86c8,public
X-Google-ArrivalTime: 2002-07-24 02:02:05 PST
Path: arc1-ca.pugleaf.net!archiver1.google.com!news1.google.com!newsfeed.stanford.edu!logbridge.uoregon.edu!isdnet!news.rediris.es!news.unizar.es!not-for-mail
From: "J.A. Gutierrez" <spd@daphne.cps.unizar.es>
Newsgroups: es.comp.os.linux.programacion
Subject: Re: shell script
Date: 24 Jul 2002 09:30:34 GMT
Organization: Rank
Lines: 16
Message-ID: <ahls3q$6l7$1@news.unizar.es>
References: <slrnajrieu.lb.natxete@tux.copon>
NNTP-Posting-Host: daphne.cps.unizar.es
X-Trace: news.unizar.es 1027503034 6823 155.210.152.20 (24 Jul 2002 09:30:34 GMT)
X-Complaints-To: usenet@news.unizar.es
NNTP-Posting-Date: 24 Jul 2002 09:30:34 GMT
User-Agent: tin/1.4.5-20010409 ("One More Nightmare") (UNIX) (IRIX/6.2 (IP22))