I assume this is what you meant no duplicates in the third field.perl -F: -e 'END { print "$_ $c{$_}\n" for keys %c }' \ -ane '$c{$F[1]}++ unless $d{"@F[1,2]"}++'
_________
broquaint
In reply to Re: Re: Re: Counting lines by content
by broquaint
in thread Counting lines by content
by willa
| For: | Use: | ||
| & | & | ||
| < | < | ||
| > | > | ||
| [ | [ | ||
| ] | ] |