![]() |
Reference Manual |
NAME
printf - print formatted output to STDOUTSYNOPSIS
printf "format" args...DESCRIPTION
Command printf prints text specified in the format string, substituting arguments for operators contained therein.NOTESIf the number of supplied arguments is less than the number of operators in the format string, the missing arguments are read from STDIN.
Arguments must be valid settings variables, and for the ifn variable, all interface property suffixes are supported.
Only string type operators are supported (%s and its variants).SEE ALSOThe maximum number of arguments is eight.
The current interface number ifn can be set with an ip ifn command or with the set command.
all, for, if, set, while