Changes

Jump to navigation Jump to search
24 bytes removed ,  18:30, 1 December 2023
m
Text replacement - "<syntaxhighlight lang="xquery">" to "<pre lang='xquery'>"
* {{Code|proc:system('date')}} returns the current date on a Linux system.
* Analyses the given input and counts the number of lines, words and characters (provided that {{Code|wc}} is available on the system):
<syntaxhighlight pre lang="'xquery"'>
proc:system(
'wc', (),
</syntaxhighlight>
* The following example returns “Command not found” (unless {{Code|xyz}} is a valid command on the system):
<syntaxhighlight pre lang="'xquery"'>
try {
proc:system('xyz')
Bureaucrats, editor, reviewer, Administrators
13,554

edits

Navigation menu