Wiki source for CommandXWhich

Show raw source

=====Command xwhich=====

**xwhich** Prints the type of commands

xwhich [ [[SerializationOptions serialization options]] ] [-n] command [command...]

||-n||No output||

Supports the standard [ [[SerializationOptions serialization options]] ]

xwhich prints the location and type information of all arguments.
Arguments are evaluated as if they were to be executed as commands in the shell, and their full path (if available) and type
is printed as an XML document.

xwhich returns the number of commands not found (or 0 / true if all commands are found)
If -n is specified only the check and return value is performed and nothing is output. This can be used to determine if a command exists.

xwhich xwhich xpwd true
<command name="xwhich" type="CMD_TYPE_BUILTIN"/>
<command name="xpwd" type="CMD_TYPE_INTERNAL"/>
<command name="true" type="CMD_TYPE_BUILTIN"/>

Valid XHTML :: Valid CSS: :: Powered by WikkaWiki