|
From: | Flavio Torres |
Subject: | Re: [shell-script] Listar a data de uma linha no arquivo |
Date: | Thu, 19 Oct 2006 08:56:26 -0300 |
User-agent: | Thunderbird 1.5.0.4 (Windows/20060516) |
-----BEGIN PGP SIGNED MESSAGE----- Hash: SHA1 mendezdba escreveu: > > Aug 17 10:18:45 : joaokb : caixacult ; home=/home/marcosaruda ; > USER=joaokb ; > > > Como eu faço via script para listar apenas o dia corrente, pois > este aquivo e muito grande e tenho que listar apenas o dia > corrente. > grep "$(date | awk '{print $2" "$3}')" arquivo - -- []'s Flavio Torres - Administrador de Sistemas ____________________________________________________________________ PGP/GPG: KeyID 0x7720DBDE http://www.digitalinfo.com.br/gpg/ -----BEGIN PGP SIGNATURE----- Version: GnuPG v1.4.2 (MingW32) iD8DBQFFN2fpNRQApncg294RAum3AKCiQAm6Bs8tZJCk77DiIEQaXjmfrwCfTPAL tGIpF5bXQu3Kbr9Cj6J9LoA= =I3Kp -----END PGP SIGNATURE-----
[Prev in Thread] | Current Thread | [Next in Thread] |