PGET(L) UNIX Programmer's Manual PGET(L) NAME pget - get the value of one or more parameters in an IRAF- style parameter file SYNOPSIS pget paramfile [ param1... ] DESCRIPTION pget gets the values of parameters in the specified param- file and outputs them on the standard output. The values are separated by new-lines. Thus, example% pget src region qpoe will return: /pros/xray_old/data/snr.qp c 512 512 50 The pget program can be used, for example, in conjunction with the unix back-quote facility to control the action of scripts. For example: if (`pget scriptpars doit` == "yes") then echo "doing it ..." doit else echo "not doing it ..." endif In searching for the parameter file, .par extension will be added to the paramfile name, if no extension is specified. If the file is not located in the directory specified by the paramfile, the directory pointed to by the UPARM environment variable will be searched. OPTIONS none ENVIRONMENT The environment variable UPARM specifies the directory in which to look for the parameter file, if the pathname of the file is not part of the paramfile specification. SEE ALSO pget(l), plist(l), pquery(l), punlearn(l), pset(l) NOTES AUTHOR The original IRAF parameter interface was developed by the IRAF development group at NOAO, led by Doug Tody. Eric Mandel and John Roll (SAO) developed the IRAF- compatible host interface. Bruce O'Neel developed the current version based on XPI.