From: Ruby Quiz Date: 2006-10-06T22:19:10+09:00 Subject: [QUIZ] Posix Pangrams (#97) The three rules of Ruby Quiz: 1. Please do not post any solutions or spoiler discussion for this quiz until 48 hours have passed from the time on this message. 2. Support Ruby Quiz by submitting ideas as often as you can: http://www.rubyquiz.com/ 3. Enjoy! Suggestion: A [QUIZ] in the subject of emails about the problem helps everyone on Ruby Talk follow the discussion. Please reply to the original quiz message, if you can. -=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-= by Martin DeMello A pangram is a sentence containing every letter of the alphabet at least once (a famous example in English being "the quick brown fox jumps over the lazy dog"). For maximum style points a pangram should read smoothly, and have both as few repeated letters as possible (ideally zero), and as few words as possible. This quiz extends the idea to the posix utilities[1] - write a program to find pangrammatic collections of posix utilities that (1) use the fewest utilities and (2) have the minimum number of repeated letters. In either case, break ties on the other criterion; that is, your first solution should also have as few repeated letters as possible, and your second one should use as few utilities as possible. [1] http://www.unix.org/version3/apis/cu.html has a complete list