Skip to content

Instantly share code, notes, and snippets.

@aparrish
Created April 20, 2011 02:21
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save aparrish/930216 to your computer and use it in GitHub Desktop.
Save aparrish/930216 to your computer and use it in GitHub Desktop.
isobel:~ adam$ perl -le 'print join "", reverse sort split //, "everything"' | perl -le 'print $_ x (ord($_) - ord('a')+1) for split //, <>'
yyyyyyyyyyyyyyyyyyyyyyyyy
vvvvvvvvvvvvvvvvvvvvvv
tttttttttttttttttttt
rrrrrrrrrrrrrrrrrr
nnnnnnnnnnnnnn
iiiiiiiii
hhhhhhhh
ggggggg
eeeee
eeeee
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment