Category: shell

Perl in awk mode

Written by bonohu in shell on 月 05 2月 2018.

When I want to extract data by numeric value in other column, Perl in awk mode might be useful. It is often the case that I forget the option for that in Perl, so I took a note this time.

perl -anle  'print "$F[0]\t$F[3]" if ($F …

Continue reading »