summaryrefslogtreecommitdiff
path: root/builtins
diff options
context:
space:
mode:
authorChet Ramey <chet.ramey@case.edu>2013-01-03 10:46:09 -0500
committerChet Ramey <chet.ramey@case.edu>2013-01-03 10:46:09 -0500
commit8b20235af788a828f71a07cf655c128893caf6ca (patch)
tree0f0d400d8127723194ee15a7e94bfc8b1eef9a8e /builtins
parent8a0d41ab45c7babd4e5de21b777b0f02befde11f (diff)
downloadbash-8b20235af788a828f71a07cf655c128893caf6ca.tar.gz
commit bash-20121207 snapshot
Diffstat (limited to 'builtins')
-rw-r--r--builtins/printf.def5
1 files changed, 5 insertions, 0 deletions
diff --git a/builtins/printf.def b/builtins/printf.def
index 6c45bdbb..aee76a5f 100644
--- a/builtins/printf.def
+++ b/builtins/printf.def
@@ -43,6 +43,11 @@ printf interprets:
%(fmt)T output the date-time string resulting from using FMT as a format
string for strftime(3)
+The format is re-used as necessary to consume all of the arguments. If
+there are fewer arguments than the format requires, extra format
+specifications behave as if a zero value or null string, as appropriate,
+had been supplied.
+
Exit Status:
Returns success unless an invalid option is given or a write or assignment
error occurs.