jhnc
"respondeo etsi mutabor" – Rosenstock-Huessy
⏵ brompton bicyclist & ballroom dancer
⏸ unix sysadmin (recovered)
See all 46 »
"respondeo etsi mutabor" – Rosenstock-Huessy
⏵ brompton bicyclist & ballroom dancer
⏸ unix sysadmin (recovered)
Perl, 22 bytes perl -pe'$_=y/13579//' input as newline-separated list of (one or more) strings y returns the number of characters replaced or deleted Try it online!
posted 6mo ago by jhnc
Perl, 223 bytes Reads single word from stdin. Prints rotated word. perl -ple'$n=length;$a=$_;$n==y/HINOSXZlosxzMWbqdphymwnu/HINOSXZlosxzWMqbpdyhwmun/||$n==($_=$a)=~y/AHIMOTUVWXYbdilmopqvwx/AHIMOT...
posted 6mo ago by jhnc
Perl, 111 bytes Function taking array of lowercase strings as argument and returning a sorted version. sub J{map{$k=lc;grep{!index$_,$k}@_}ReYGreeBrScBlaOcPeRubOlVFLiGoChMCreCriSiRoALeRusGreyPuWP...
posted 6mo ago by jhnc
awk, 12 bytes Print nothing if false, 1 if true $0=/[abipq]/ replace input with result of match no match: assigns false (empty string) ⇒ default print action is skipped match: assigns tr...
posted 6mo ago by jhnc
