aboutsummaryrefslogtreecommitdiff
path: root/pkg/system/doc/pathnames.hlp
blob: 3719fe28eda3df820295889d37468155c3ff5be2 (plain) (blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
.help pathnames Nov84 system
.ih
NAME
pathnames -- print the host pathnames for a set of files
.ih
USAGE
pathnames [template]
.ih
PARAMETERS
.ls 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.
.le
.ls sort = yes
Sort the output in ASCII collating sequence.
.le
.ih
DESCRIPTION
\fIPathnames\fR converts a list of IRAF virtual file names into their host
system equivalents.  When called with no arguments, the function of
\fIpathnames\fR is to print the current default directory.
.ih
EXAMPLES

1. Print the pathname of the current default directory (sample output for
a VMS host system).

.nf
	cl> path
	draco!DRB1:[IRAF.SYS.FIO]
.fi

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
.ih
SEE ALSO
directory, files
.endhelp