Changes

Jump to navigation Jump to search
79 bytes removed ,  20:12, 14 June 2012
no edit summary
$ basex -h
BaseX [Standalone]
Usage: basex [-bcCdiLoqsuvVwxzbcdiLosuvVwxz] [file]
[file] Execute XQuery file
-b<pars> Bind external XQuery variables
-c<cmds> Execute database commands
-C<file> Execute commands from script
-d Activate debugging mode
-i<input> Open initial file or database
-L Add trailing newline after query result
-o<file> Write output to file
-q<expr> Execute XQuery expression
-s<pars> Set serialization parameter(s)
-u Write updates back to original files
| • <code>-b$v=example -q$v</code><br/>• <code>-b{URL}ln=value<br/>-q"declare namespace ns='URL'; $ns:ln"</code>
|- valign="top"
| {{Code|-c&lt;cmdinput&gt;}}| Runs the specified Executes [[commands]]. :* Several commands in the input can be separated by semicolons.* If the specified input is a valid file reference, its content will be executed instead. Empty lines and lines starting with the number sign {{Code|#}} will be ignored.* Since {{Version|7.3}}, commands can also be specified in the [[Commands#XML Syntax|XML Syntax]].
|
| {{Code|-c"list;info"}}
|- valign="top"
| {{Code|-C&lt;file&gt;}}
| Runs all [[commands]] from the specified file. Commands may be specified as strings (empty lines and lines starting with the number sign {{Code|#}} will be skipped) or (since {{Version|7.3}}) in the XML syntax.
|
| {{Code|-Ccmd.txt}}
|- valign="top"
| {{Code|-d}}
$ basexclient -h
BaseX [Client]
Usage: basexclient [-bcCdiLnopPqsUvVwxzbcdiLnopPsUvVwxz] [file]
[file] Execute XQuery file
-b<pars> Bind external XQuery variables
-c<cmds> Execute database commands
-C<file> Execute commands from script
-d Activate debugging mode
-i<input> Open initial file or database
-p<num> Set server port
-P<pass> Specify user password
-q<expr> Execute XQuery expression
-s<pars> Set serialization parameter(s)
-U<name> Specify user name
| • <code>-b$v=example -q$v</code><br/>• <code>-b{URL}ln=value<br/>-q"declare namespace ns='URL'; $ns:ln"</code>
|- valign="top"
| {{Code|-c&lt;cmdinput&gt;}}| Runs the specified Executes [[commands]]. :* Several commands in the input can be separated by semicolons.* If the specified input is a valid file reference, its content will be executed instead. Empty lines and lines starting with the number sign {{Code|#}} will be ignored.* Since {{Version|7.3}}, commands can also be specified in the [[Commands#XML Syntax|XML Syntax]].
|
|
| {{Code|-c"list;info"}}
|- valign="top"
| {{Code|-C&lt;file&gt;}}
| Runs all [[commands]] from the specified file. Commands may be specified as strings (empty lines and lines starting with the number sign {{Code|#}} will be skipped) or (since {{Version|7.3}}) in the XML syntax.
|
| {{Code|-Ccmd.txt}}
|- valign="top"
| {{Code|-d}}
* Updated: all options are now evaluated in the given order
* Updated: {{Code|-i}} creates main-memory representations for specified sources
* Updated: Options {{Code|-C}} &amp; {{Code|-c}} and {{Code|-q}} &amp; {{Code|[query]}} merged
; Version 7.2:
Bureaucrats, editor, reviewer, Administrators
13,554

edits

Navigation menu