| echo 3plumb | 2012-09-04 |
|---|
echo - print a string or binary data and send an eof
[echo text=STRING]
[echo bin=BINARY]
[echo STRING]
+------+ | echo |----> (stdout) 1 +------+
After started, echo prints a predefined text or binary data on stdout and exits (causing eof on stdout). The only difference between printing text and binary is that in text mode a newline is appended.eof handling
Default.blocking/flow control
Default.buffering
None.
include stdio
# print hello world, with newline appended
[echo "hello world"] | STDOUT:*
# print hello as is and compress it
[echo bin="hello"] | {gzip} | [open hello.gz]
| echo 3plumb | 2012-09-04 |
|---|