printf
format
[
val
...]
ksh93
only.Formatted printing, like the ANSI C printf
function.
%b
Expand escape sequences in strings (e.g., \t
to tab, and so on).
%d
An additional period and the output base can follow the precision (e.g., %5.3.6d
to produce output in base 6).
%P
Translate egrep
extended regular expression into ksh
pattern.
%q
Print a quoted string that can be reread later on.