options
Many commands take options to modify their behavior, following these rules
(similar to UNIX conventions, but not identical):
- All options must be immediately preceded by '-'.
- Options may be grouped after a single '-'.
- Some options may take string, numeric, or time arguments. There must
be no space between the option and the argument.
- String option-arguments may be delmited by a space, double quotes,
single quotes, or backquotes. A delimiter character within the string can
be escaped by preceding it with '\'.
- All options must precede normal arguments.
- A '-' or '--' by itself may be used to mark the end of the options.
This is useful when the first (non-option) argument begins with '-'.
See also: getopts().
Back to index
Back to tf home page
Copyright © 1995, 1996, 1997 Ken Keys