1 03/31/83  directories, dirs
 2 
 3 Syntax:  dirs star_names {-control_arg{s}}
 4 
 5 
 6 Syntax as active function:  [dirs star_names {-control_arg{s}}]
 7 
 8 
 9 Function:  returns the entrynames or absolute pathnames of directories
10 that match one or more star names.
11 
12 
13 Arguments:
14 star_names
15    are star names to be used in selecting the names to be returned.
16 
17 
18 Control arguments:
19 -absolute_pathname, -absp
20    returns absolute pathnames rather than entrynames.  The default is
21    to return entrynames.
22 -chase
23    will process the targets of links when a starname is specified.
24 -no_chase
25    will not process the targets of links when a starname is specified.
26    (Default)
27 
28 
29 Notes:  Only one name per directory is returned; i.e., if a directory
30 has more than one name that matches star_name, only the first match
31 found is returned.  Since each entryname (or pathname) returned by
32 directories is enclosed in quotes, the command processor treats each
33 name as a single argument regardless of the presence of special
34 characters in the name.