Revision [1339]

This is an old revision of Commands made by DavidLee on 2010-04-19 18:31:37.

 

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).


CommandSetDescription
: CoreThe null command ":"
[CoreEvaluates expressions
CommandBase64PosixBase64 encode/decode
breakCoreExits one level of a loop
catPosixcopy or concatenate files
cdCorechange or print current directory
chmodPosixChange file permissions
cpPosixcopy one or more files
continueCoreContinues the iteration of one level of a loop
csv2xmlCoreconvert csv file to xml
declareCoreDeclarations (including namespaces)
echoCorePrints arguments as text
evalCoreEvaluate a shell command
exitCoreexit the shell, script, or function
falseCorereturns false
fixed2xmlCoreconvert fixed field files to xml
helpCoreHelp on commands
httpCoreHttp client command
httpserverCoreHttp server
httpsessionCoreGet and set HTTP session variables
importCoreImport modules, packages and commands
jcallCorecall java from within the same JVM
jobsCoreprints jobs
logCoreWrites to log4j log
lsPosixlist files in a directory
mkdirPosixCreate directories
morePosixSimple pagenator
mvPosixMove/Rename files
pwdPosixprint current working directory
readCorereads text into a variable
returnCoreReturns from a function
requireCoreChecks the current shell for a specified minimum version
rmPosixRemove/Delete files
rmdirPosixRemove/Delete directories
rngvalidateCoreValidates with an RNG schema
schematronCoreValidates with a schematron description
setCoreset positional parameters and view variables
shiftCoreshift positional parameters
sleepPosixDelay execution
source (.)CoreExecutes a script within the current shell
testCoreEvaluates expressions
touchPosixcreate and update timestamp of a file
tieCoreTies an xquery to a variable for ease of access
trueCorereturns true
unsetCoreUnset a variable
waitCorewait for jobs to complete
xaddattributreCoreAdds or replaces an attribute to nodes matching an expression
xaddbaseCoreAdd xml:base attributes to a document
xbaseCoreextract the base URI from a document or node
xcatCoreconcatenate XML documents
xcmpCorecompare text, binary or xml
xdeleteCoreDeletes nodes or attributes matching an expression
xechoCorePrints arguments as xml
xedCorexpath based xml edit
xfileCorefile name manipulations
xgetoptsCoreparse arguments into xml
xgrepCoreSearch for patterns in files
xidentityCoreOutputs an identical copy of the input
xincludeCoreruns xinclude preprocessing on an xml file
xlsCorelist files in a directory
xmd5sumCoreMD5 sum of file(s)
xml2csvCoreconvert xml to csv
xmoveCoreRename/Move xml files to a new filename based on an expression in the file
xpathCorerun xpath version 2.0 expressions on an xml document
xmlshCoreRun a sub shell
xpwdCoreprints the current directory
xpropertiesCoreparse or generate Java Properties files
xqueryCoreruns xquery scripts on an xml document
xreadCoreReads an XML document into a variable
xsdvalidateCoreValidates against one or more W3C XSD schemas
xsqlCorequery a relational database using jdbc
xsltCoreruns xslt version 2.0 transformations
xslt1Coreruns xslt version 1.0 transformations
xsplitCoresplits an XML file into multiple files
xsysinfoExperimentalprints system information
xteeCorecopies input to multiple outputs
xtypeCoreprints the XDM type of each argument
xuriCorecreate and disect URI's
xvalidateCorevalidate a document against a schema
xversionCoreprints the shell version
xwhichCoreLocates commands


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