June 2006
Intermediate to advanced
64 pages
2h 42m
English
printf
printf [-vvar]format[val…]
Formatted printing, like the ANSI C printf function.
-v
varSave the result in var instead of printing it to standard output.
Bash accepts these additional format letters:
%bExpand escape sequences in strings (e.g., \t to tab, and so on).
%qPrint a quoted string that can be reread later on.
Read now
Unlock full access