Submit Hint Search The Forums LinksStatsPollsHeadlinesRSS
14,000 hints and counting!


Click here to return to the 'Neat trick from the first chapter' hint
The following comments are owned by whoever posted them. This site is not responsible for what they say.
Neat trick from the first chapter
Authored by: mithras on Oct 09, '02 10:58:23AM
The first chapter mentions that Andrew Tidgell chose the name 'samba' by running the command:
grep -u 's.*m.*b' /usr/dict/words

In OS X, the words file is in /usr/share. So suppose we wanted to make a client that supported Apple's AFP protocol. To get some suggestions, we run:
grep -u 'a.*f.*p' /usr/share/dict/words

and learn that that we might want to use the names afterclap, leafcup, halfpenny or backflap. Fun!


[ Reply to This | # ]