Revision [256]

This is an old revision of CommandXfile made by DavidLee on 2008-07-06 12:31:42.

 

Name

xfile file name manipulations

Synopsis

xfile [options] [filename]

options are one of
-b base
-n name
-d directory
-a absolute path
-c cannonical path
-e extension

If [filename] is ommitted the current directory is used


Description

Prints a component of a filename or path.

Example:
$ xfile -a foo.bar
c:\work\dei\xmlsh\trunk\foo.bar


$ xfile -e $PWD/foo.bar
.bar

Return Value

Returns 0 if the command executed successfully, 1 if there was an error.

CategoryCommands

There are no comments on this page.
Valid XHTML :: Valid CSS: :: Powered by WikkaWiki