mk90.commands
Command echo
Write up to three argument tokens to standard output.
Synopsis
echo [word [word [word]]]Ordinary invocation: foreground child, PID 3; the shell waits. Allowed as a pipe producer.
Parameters
| Parameter | Meaning |
|---|---|
word | Optional space-separated token; at most three arguments are retained by the shell. |
Description
Writes each retained token followed by one space, then a newline. Consecutive spaces in input do not preserve their original spacing. With no words, prints a newline.
Quotes have no shell quoting semantics. For example, quote characters remain literal characters in the retained tokens.
Examples
echo Hello MK90
echo Hello MK90 | catLimits and side effects
- The four-token shell limit includes the command name; later tokens are ignored. No escapes, variable expansion,
-n, output redirection or file creation.
Status and diagnostics
Success is status 0. No command-specific status is added; shared ROM/controller failures remain possible. See the diagnostic reference.
See also
cat · pipe · Shell syntax