Re: an interesting challenge.

Top Page
Attachments:
Message as email
+ (text/plain)
Delete this message
Reply to this message
Author: Jeremy C. Reed
Date:  
To: Main PLUG discussion list
Subject: Re: an interesting challenge.
On Tue, 4 Apr 2006, Josh Zeidner wrote:

> josh@zeidner:/usr/share/dict$ perl -n -e 'if ( $_ =~ /\A[bdfeca]+\Z/ )
> { print "$_" }' < american-english


Be sure to be at least four characters.

> > using bdfeca:
> > construct word strings in a list using only these letters in any
> > combination 4 characters or longer. use of the number 1 as a space filler
> > is permitted.


I am not sure what the "space filler" means. I guess it means putting
multiple words together.

> > example:
> > dead1beef


Without using any "space filler" ...

$ cat /usr/share/dict/* | egrep -a '^[bdfeca]{4,}$' | sort -u | wc -l
      56


Jeremy C. Reed

echo ':6DB6=88>?;@69876tA=AC8BB5tA6487><' | tr '4-F' 'wu rofIn.lkigemca'
---------------------------------------------------
PLUG-discuss mailing list -
To subscribe, unsubscribe, or to change you mail settings:
http://lists.PLUG.phoenix.az.us/mailman/listinfo/plug-discuss