in reply to Coffee time quiz
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).
|
|---|
| Replies are listed 'Best First'. | |
|---|---|
|
Re: Re: Coffee time quiz
by sauoq (Abbot) on Oct 22, 2002 at 21:19 UTC | |
by locked_user mtve (Deacon) on Oct 29, 2002 at 14:17 UTC | |
|
Re: Re: Coffee time quiz
by thelenm (Vicar) on Oct 22, 2002 at 20:42 UTC | |
|
Re: Re: Coffee time quiz
by Anonymous Monk on Oct 24, 2002 at 10:42 UTC |