next up previous contents
Next: Examples: Up: XSPEC commands Previous: Examples:

script

Open a script file.

XSPEC> script <script file>

where <script file> is the name of the file to be opened (default extension is .xcm). If no arguments are on the line, then the default file name is xspec.xcm. If <script file> matches the string none, then the current script file is closed. The script file saves all commands that are input. This command is useful for users who use the same set of commands repeatedly. Once a script file is written and saved, the user then can re-run the same set of commands on other data by souce <script file>.





Keith Arnaud (kaa@genji.gsfc.nasa.gov)
Wed May 28 10:59:33 EDT 1997