STScI Logo

pathnames system


NAME · USAGE · PARAMETERS · DESCRIPTION · EXAMPLES · SEE_ALSO

NAME

pathnames -- print the host pathnames for a set of files

USAGE

pathnames [template]

PARAMETERS

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.

DESCRIPTION

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.

EXAMPLES

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

SEE ALSO

directory, files


Source Code · Search Form · STSDAS