PerlOneLiner for Bioinformatician
...-alne 'print "@{[map { abs } @F]}"' # Find the total number of fields (words) on each lineperl -alne 'print scalar @F' # Print the total number of fields (words) on each line followed by the...2345 days ago
Awk for Bioinformatician and computational biologist
.... For each record i.e line, it splits the record delimited by whitespace character by default and stores it in the $n variables. If the line has 5 words, it will be stored in $1, $2,...2323 days ago