dear Colin Watson. > > Sure you can. Use perl's -e option. > > perl -nle 'my @cols = split /\t/; print if $cols[2] eq "111"' Oh, you are one liner. This sentence is a little long but I am used to perl so it is relatively easy. -- Youichi Mano <manoyouichi@hotmail.com>