Revision [1112]

This is an old revision of CommandEcho made by DavidLee on 2010-01-05 05:17:47.

 

Command echo


Name


echo Prints its arguments to stdout

Synopsis

echo [-n] [args]

Options

-nNo newline
-p port
-port port
Outputs to a named port instead of out

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

Example
echo 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


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