Perl one-liner for bioinformatician !!!
...r all lines in a fileperl -pe '$_ = ++$a." $_" if /./' #Number only non-empty lines in a fileperl -ne 'print ++$a." $_" if /./' #Number and print only non-empty lines in a fileperl -pe '$_ =...3646 days ago
PerlOneLiner for Bioinformatician
...fileperl -pe '$_ = "$. $_"' # Number only non-empty lines in a fileperl -pe '$_ =...+$a." $_" if /./' # Number and print only non-empty lines in a file (drop empty l...'say~~grep/./,<>' # Print the number of empty lines in a fileperl -lne '$a+...2320 days ago
Awk for Bioinformatician and computational biologist
...tions for each line of the input.If the action is not given, print all that lines that matches with the given patterns which is the default action.Empty braces with out any action do...2298 days ago