print [ -acilmnNoOPrsz ] [ -u n ] [ -f format ] [ -C cols ] [ -R [ -en ]] [ arg ... ]
With the -f
option the arguments are printed as described
by printf. With
no flags or with the flag -
, the arguments are printed on
the standard output as described by echo,
with the following differences: the escape sequence \M-x
metafies
the character x
(sets the highest bit), \C-x
produces
a control character (\C-@
and \C-?
give
the characters NULL and delete), and \E
is a synonym for \e
.
Finally, if not in an escape sequence, \
escapes the following
character and is not printed.
Option | Description |
---|---|
|
Prints the arguments with the column incrementing first. Only useful
with the |
|
Print the arguments in columns. Unless |
|
Print the arguments in |
|
If given together with |
|
Print the arguments separated by newlines instead of spaces. |
|
Take the first argument as a pattern (should be quoted), and remove it from the argument list together with subsequent arguments that do not match this pattern. |
|
Do not add a newline to the output. |
|
Print the arguments separated and terminated by nulls. |
|
Print the arguments sorted in ascending order. |
|
Print the arguments sorted in descending order. |
|
Perform prompt expansion |
|
Ignore the escape conventions of echo. |
|
Emulate the BSD echo command, which does not process escape sequences
unless the |
|
Place the results in the history list instead of on the standard output. |
|
Print the arguments to file descriptor |
|
Push the arguments onto the editing buffer stack, separated by spaces. |
If any of -m
, -o
or -O
are
used in combination with -f
and there are no arguments (after
the removal process in the case of -m
) then nothing is printed.
Note: The Symbian platform does not support the use
of the -b
, -d
, and -p
options.