On Monday 20 December 2004 18:03, Samareanu Florin wrote:
> so, "patch" :)

Decat sa modifici atatea linii mai bine adaugai 2 la inceput:

 # Saving the real stdout and stderr
 exec 3>&1 4>&2
 # Redirecting stdout to config.cfg
 exec 1>&config.cfg 2>/dev/null

si 2 la sfarsit:

 # Restoring the fd for stdout & stderr
 exec 1>&3 2>&4
 exec 3>&- 4>&-

In felul asta tooate echo-urile alea erau automat redirectate catre 
config.cfg.


Mihai


-- 
This message was scanned for spam and viruses by BitDefender.
For more information please visit http://www.bitdefender.com/


--- 
Detalii despre listele noastre de mail: http://www.lug.ro/


Raspunde prin e-mail lui