An Alphabet in 25 Characters

I’m here at the University at Buffalo enjoying the E-Poetry Festival. Amid this discussion of digital work, concrete poetry, and related innovative practices, and among this great crowd of poets, I’ve developed a very short piece for anyone with Perl installed to enjoy – just copy and paste on the command line:

yes | perl -pe '$.%=26;$_=$"x$..chr 97+$.'

It does use “yes,” one of my favorite Unix/GNU commands, and the -p option to wrap the Perl code in a loop. So there’s some bonus stuff there on the command line. But the Perl code itself is only 25 characters long, not a bad length for a program that displays the alphabet.

Alphabet in 25