shell-script-pt
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: [shell-script] pipes?


From: moysespr
Subject: Re: [shell-script] pipes?
Date: Mon, 3 Oct 2005 18:05:19 -0700 (PDT)

Será que alguém poderia esclarecer o que ocorre?

Isto funciona:
tail -f file|cut -c1-9
tail file|cut -c1-9|cut -c1-9

Mas isto não:
tail -f file|cut -c1-9|cut -c1-9


Marco, para você "ir contornando" tente o auxílio do read:

tail -f $logFile|while read L;do
 echo $L|grep "x.y.z:105" | cut -f1,2,6,12 -d" "
done









                
__________________________________ 
Yahoo! Mail - PC Magazine Editors' Choice 2005 
http://mail.yahoo.com


reply via email to

[Prev in Thread] Current Thread [Next in Thread]