If we combine the suggestion above with a little knowledge of Perl builtins and command-line options, we get
Well, you asked for succinct... <grin>perl -lne 'print if length == 15 and not /(.).*\1/' /usr/share/dict/w +ords
Update: added auto-chomp (shame, shame).
In reply to Re: Coffee time quiz
by ChemBoy
in thread Coffee time quiz
by perlmoth
| For: | Use: | ||
| & | & | ||
| < | < | ||
| > | > | ||
| [ | [ | ||
| ] | ] |