perl -lne '/\tCM+(\d+)/; print $1 if defined $1 and not $seen{$1}++' f +ile1 > file2
--
John.
In reply to Re: creating a new file with unique values
by jmcnamara
in thread creating a new file with unique values
by afasch01
| For: | Use: | ||
| & | & | ||
| < | < | ||
| > | > | ||
| [ | [ | ||
| ] | ] |