QW – Funny

Posted in Uncategorized | Leave a comment

QX – Washington

Posted in Uncategorized | Leave a comment

QY – Fem

Posted in Uncategorized | Leave a comment

QZ – Xena

Posted in Uncategorized | Leave a comment

R0 – Palindromes

My ungainly friend obtained a PhD in palindromes so now he’s Dr. Awkward.

perl -lne 'print if length($_) >= 5 && $_ eq reverse($_)' words-small

Posted in Uncategorized | Leave a comment

R1 – MAGA

Posted in Uncategorized | Leave a comment

R2 – Firefly

Posted in Uncategorized | Leave a comment

R3 – Jot

Print ten columns of random numbers with BSD tools:

jot -r 100 | rs 10

Posted in Uncategorized | Leave a comment

R4 – Trek

Posted in Uncategorized | Leave a comment

R5 – Perl

Perl one-liner to highlight consecutive duplicated words:

perl -pe 's/\b(\w+)\s+\1\b/\e[31m$&\e[0m/gi' gettysburg.txt

Posted in Uncategorized | Leave a comment