Software Carpentry
A Mini-Project

Eating Your Own Cooking

Checking for Tabs

Running Tools

Checking for Printable Characters

Checking Glossary Entries

Checking Cross-References

Summary

Exercises

Exercise 19.1:

What does getopt do when it encounters an argument it doesn't recognize? Write a short program that demonstrates this behavior, that can be run on its own without the user passing in any command-line arguments.