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

Re: matrix uniq



dear Travis Crump,

> Umm, use 'uniq'...?
> 
> pretzalz@Pretzalz:~$ uniq -W1 << EOF
>  > 1 eagle 197
>  > 1 bird 387
>  > 2 camera 91
>  > 2 dog 62
>  > 3 apple 89
>  > EOF
> 1 eagle 197
> 2 camera 91
> 3 apple 89
> 

Thank you.
You mean -w option?
I want to uniq by any column,any data. For example,
if 2nd column uniq is operated,

--------------------
AAAA	10000	aaaaa
BBB	100	bbb
CC	100	cccccc
--------------------

the output will be

--------------------
AAAA	10000	aaaaa
BBB	100	bbb
--------------------

regards,

-- 
Youichi Mano <manoyouichi@hotmail.com>




Reply to: