NAME
picksym - extracts symbols from configuration, request or FITS files
SYNOPSIS
picksym [file=name] [default=yyyy] [nostrip] [quiet] [stanza=n]
symbol
DESCRIPTION
This program prints out the value of the symbol found in the
`$HOME_DIR/
ait.config
file or the file specified by the file= switch.
Where HOME_DIR is the telescope environment variable. If the symbol is not
found and no default value is specified by the default= switch, the
program prints an error message to stderr, and generates an non-zero exit
code.
Note leading and trailing blanks, tabs, and single quotes are stripped off
(but see the `nostrip' option
below).
OPTIONS
- file=xxxx
- uses the file xxxx instead of ait.config
default=yyyy the string to print if the symbol is not found.
- nostrip
- does not remove the single quotation marks from string
symbols.
- quiet
- doesn't print error message if the symbol is not
found.
- stanza=n
- if a pseudo-FITS file, look for the given symbol only
in the n'th
stanza. A stanza is a section of the file delimited by END statements.
SEE ALSO
putsym,
pformat,