Filename processing commands
These commands perform operations on each of a list of filenames.
If they are not used in a list substitution construct of the form
`(...),
then the results are sent to standard output,
separated by the value of the first string in the variable
ofs
if there is more than one argument.
absreadlink-
absolute pathname of the value of a symbolic link
basename-
basename of its argument
canonical-
argument converted to canonical (non-redundant) form
dirname-
canonical form of the directory of its argument
extension-
extension of its argument
fileclass-
class of its argument
followlink-
absolute pathname of the final destination of a
symbolic link
readlink-
contents of a symbolic link
relativepath-
pathname relative to the user's home directory
unextended-
canonical form of the argument with its extension removed
See also:
Next topic:
Specifying actions
Previous topic:
Canonical form
© 2003 Caldera International, Inc. All rights reserved.
SCO OpenServer Release 5.0.7 -- 11 February 2003