Getting Started Documentation Glish Learn More Programming Contact Us
Version 1.9 Build 874
News FAQ
Search Home


next up previous contents index
Next: Resources Up: aipsrc Previous: Synopsis

Description

The aipsrc files store keyword:value entries used by AIPS++ scripts and programs. The mechanism is similar to that of .Xdefaults on which it is modelled. The form of an aipsrc entry is

   keyword: value

where the keyword, which must begin in column 1, usually consists of a sequence of character strings separated by asterisks (*) or periods (.), and terminated by a colon (:). The value consists of everything after the last whitespace character (space or tab) following the colon.

Keywords may use ``*'' as a wildcard. However, since the procedure which reads the aipsrc file accepts the first match it finds, the order of the entries may be significant. For example, consider the following two aipsrc entries

   printer*paper:              A4
   printer.dp1.paper:          A3

If a match was requested for the keyword printer.dp1.paper the first entry would be returned, contrary to what was probably wanted. In fact, the second entry would never be operative.

Comments in the aipsrc file have a # in column 1, and blank lines are ignored.


next up previous contents index
Next: Resources Up: aipsrc Previous: Synopsis   Contents   Index
Please send questions or comments about AIPS++ to aips2-request@nrao.edu.
Copyright © 1995-2000 Associated Universities Inc., Washington, D.C.

Return to AIPS++ Home Page
2004-11-13