Revision [993]
This is an old revision of CommandEcho made by DavidLee on 2009-11-25 09:55:16.
Command echo
Name
echo Prints its arguments to stdout
Synopsis
echo [-n] [args]Options
-n | No newline |
Prints its arguments to the standard output seperated by a space.
If no arguments are given then a single blank line ("\n") is printed.
If arguments are XML expressions then they are written in normal text serialized format.
XML Sequences are output seperated by spaces.
A newline is printed at the end of all arguments.
If the first argument is "-n" then no newline is printed.
Examples
Exampleecho hi there
Result
hi there
Example
echo arg1 <[1,"hi",<foo>bar</foo>]> arg3
Result
arg1 1 hi <foo>bar</foo> arg3
Example
echo -n foo ; echo bar
Result
foobar
Commands
CategoryCommands