Often it is more convenient to run catpair from a prepared script rather than answering the prompts interactively. This end is simply achieved using Unix's input redirection mechanism. Simply enter the responses to the various prompts into a text file, in the correct order, using a text editor. Then type:
catpair < script_file
where script_file is the name of the file you have created.
Figure
shows an annotated example catpair
script for pairing with Cartesian coordinates. This script is available
as file:
/star/share/cursa/catpair_cart.script
An example script showing pairing with spherical-polar coordinates is available as file:
/star/share/cursa/catpair_sphplr.script
It may be convenient to use these scripts as starting points for developing your own scripts.
CURSA Catalogue and Table Manipulation Applications