The UNIX 'getopt' Game

Invented by me and Peter Honeyman while testing UDP performance of AIX on a mainframe, sometime in 1989(?).

0 - Start with a circle of people. Have someone begin by saying a letter of the alphabet out loud. This is the 'getopt' letter.

1 - The next person in the circle must come up with a UNIX command which uses that letter as an option. Further, the command and the purpose of the option must be described.

2 - Go to the next person, using the last letter of the previous unix command as the new 'getopt' letter.

You can not reuse a command.

As people fail to name a UNIX command, that person must drop out.

Upper or lower-case use of the letter is permitted.

Variants of UNIX (BSD, SVR4, Irix, GNU) are permitted, as long as they are identified.

Example:

- getopt letter is "c"

- "tar" - the "c" option creates an archive. The new getopt letter is therefore "r".

- "ls" - the "R" option prints listings recursively. The new getopt letter is therefore "s"

- "cc" - the "s" option writes out an asm file. The new getopt letter is "c"

- "od" - the "c" option prints out characters. The new getopt letter is "d"

....






back home