Revision [346]

This is an old revision of CommandEcho made by DavidLee on 2009-01-03 06:47:18.


echo [-n] [args]

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.


$ echo hi there
hi there

$ echo arg1 <[1,"hi",<foo>bar</foo>]> arg3
arg1 1 hi <foo>bar</foo> arg3

$ echo -n foo ; echo bar


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