Skip to main content

Search

Items tagged with: awk


Two weeks ago, I encountered a hilarious bug with the multiple sequence alignment program MAFFT.

Who would have thought that MAFFT calls #awk to parse one of its command line arguments. Now on some systems (including Ubuntu desktop versions before this year) awk is not gawk, but an alias for mawk instead (https://superuser.com/questions/75875/awk-mawk-nawk-gawk-what) and with that one MAFFT would simply ignore the passed value for --ep.
This is now fixed in the #Bioconda package of MAFFT by requiring gawk explicitly.


So I thought I'd try out my #awk skills and do #adventofcode day1 in that at well, and it turned out surprisingly succinct and nice 😀 I really like this.
@RL_Dane @benjaminhollon

https://gist.github.com/sotolf2/a7cbc76fdf36afeeedb1233a858737ca

Lo, thar be cookies on this site to keep track of your login. By clicking 'okay', you are CONSENTING to this.

⇧