C Shell Scripting/Passwords

This chapter shows an example script, a password generator.

Source code:

Lessons:
 * 1) C shell doesn't have an easy way to calculate a random number like Bourne shell.
 * 2) Backslashes are required to put statements are multiple lines.
 * 3) Arrays are base one.
 * 4) Extracting the first character of a string is not built-in and requires extra work.