Revision [1165]
This is an old revision of Commands made by DavidLee on 2010-02-05 14:37:35.
Commands
The following commands come with xmlsh.
As a naming convention, commands that start with "x" operate intrinsically on xml data (either as input or output and usually both).
Commands not starting with "x" generally don't operate on xml data exclusively (either as input or output).
Command | Set | Description |
---|---|---|
: | Core | The null command ":" |
cat | Posix | copy or concatenate files |
cd | Core | change or print current directory |
chmod | Posix | Change file permissions |
cp | Posix | copy one or more files |
csv2xml | Core | convert csv file to xml |
declare | Core | Declarations (including namespaces) |
echo | Core | Prints arguments as text |
eval | Core | Evaluate a shell command |
exit | Core | exit the shell |
false | Core | returns false |
fixed2xml | Core | convert fixed field files to xml |
http | Experimental | Http client command |
httpserver | Experimental | Http server |
import | Core | Import modules |
jcall | Core | call java from within the same JVM |
jobs | Core | prints jobs |
log | Core | Writes to log4j log |
ls | Posix | list files in a directory |
mkdir | Posix | Create directories |
mv | Posix | Move/Rename files |
pwd | Posix | print current working directory |
read | Core | reads text into a variable |
require | Core | Checks the current shell for a specified minimum version |
rm | Posix | Remove/Delete files |
rmdir | Posix | Remove/Delete directories |
rngvalidate | Core | Validates with an RNG schema |
schematron | Core | Validates with a schematron description |
set | Core | set positional parameters and view variables |
shift | Core | shift positional parameters |
sleep | Posix | Delay execution |
source (.) | Core | Executes a script within the current shell |
test | Core | Evaluates expressions |
touch | Posix | create and update timestamp of a file |
tie | Core | Ties an xquery to a variable for ease of access |
true | Core | returns true |
wait | Core | wait for jobs to complete |
xaddattributre | Core | Adds or replaces an attribute to nodes matching an expression |
xaddbase | Core | Add xml:base attributes to a document |
xbase | Core | extract the base URI from a document or node |
xcat | Core | concatenate XML documents |
xcmp | Core | compare text, binary or xml |
xdelete | Core | Deletes nodes or attributes matching an expression |
xecho | Core | Prints arguments as xml |
xed | Core | xpath based xml edit |
xfile | Core | file name manipulations |
xgetopts | Core | parse arguments into xml |
xgrep | Core | Search for patterns in files |
xidentity | Core | Outputs an identical copy of the input |
xinclude | Core | runs xinclude preprocessing on an xml file |
xls | Core | list files in a directory |
xml2csv | Core | convert xml to csv |
xmove | Core | Rename/Move xml files to a new filename based on an expression in the file |
xpath | Core | run xpath version 2.0 expressions on an xml document |
xpwd | Core | prints the current directory |
xproperties | Core | parse or generate Java Properties files |
xquery | Core | runs xquery scripts on an xml document |
xread | Core | Reads an XML document into a variable |
xsdvalidate | Core | Validates against one or more W3C XSD schemas |
xsql | Core | query a relational database using jdbc |
xslt | Core | runs xslt version 2.0 transformations |
xslt1 | Core | runs xslt version 1.0 transformations |
xsplit | Core | splits an XML file into multiple files |
xsysinfo | Experimental | prints system information |
xtee | Core | copies input to multiple outputs |
xtype | Core | prints the XDM type of each argument |
xuri | Core | create and disect URI's |
xvalidate | Core | validate a document against a schema |
xversion | Core | prints the shell version |
xwhich | Core | Locates commands |
CategoryCommands