unique grep command

May 16, 2010 at 20:47:17
Specs: Windows XP, na
hi all,
does anyone know if there is an option in ksh to do a unique grep ?? i am grepping a flat file for customer names but the file has some duplicates.

thanks in advance.

See More: unique grep command

Report •

May 16, 2010 at 21:00:37
just found the answer, it might help someone else out there.

just do this :

grep "text" file | uniq

Report •
Related Solutions

Ask Question