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

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

Re: [shell-script] Porque o comando uniq está retornando linhas duplicad


From: Flavio Torres
Subject: Re: [shell-script] Porque o comando uniq está retornando linhas duplicadas ?
Date: Fri, 18 Aug 2006 18:52:45 -0300
User-agent: Thunderbird 1.5.0.4 (Windows/20060516)

-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1
 
daniel escreveu:
> tou usando a seguinte sintaxe :
>
> $ who | cut -d" " -f1 | uniq -i

Bota um sort no meio ...

who | cut -d" " -f1 | sort | uniq -i

Ate mais, daniel.

- --

[]'s

Flavio Torres - Administrador de Sistemas
____________________________________________________________________
PGP/GPG: KeyID 0x7720DBDE
http://www.digitalinfo.com.br/gpg/

- -----BEGIN GEEK CODE BLOCK-----
Version: 3.1
GCS d-@pu s: a-- C--- UL+++>+++ P->- L++ E--- W N o K-- w O M V PS PE Y
PGP+++>+++ t--- 5 X R tv-- b++ DI+ D G+++ e h r y+
- ------END GEEK CODE BLOCK------
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.4.2 (MingW32)
 
iD8DBQFE5jatNRQApncg294RAhtKAKCAKEeNbp4Ksf2dcBu0dT6HTAcXsACgst1q
KmjD2Qt3fRvauS0k5QxQJ20=
=Zgy6
-----END PGP SIGNATURE-----



reply via email to

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