pathnames [template]
template
A filename template specifying the set of files for which pathnames
are desired. If omitted, the pathname of the current working or default
directory is printed. The list of file names can come from the standard input.
sort = yes
Sort the output in ASCII collating sequence.
Pathnames converts a list of IRAF virtual file names into their host system equivalents. When called with no arguments, the function of pathnames is to print the current default directory.
1. Print the pathname of the current default directory (sample output for a VMS host system).
cl> path draco!DRB1:[IRAF.SYS.FIO]
2. Translate the file "vfiles", containing a list of virtual filenames, into the equivalent list of host system filenames, e.g., for use as input to a foreign task.
cl> path @vfiles > hfiles