diff options
-rw-r--r-- | ChangeLog | 1 | ||||
-rw-r--r-- | src/dash.1 | 4 |
2 files changed, 3 insertions, 2 deletions
diff --git a/ChangeLog b/ChangeLog index 7b67c0c..6f27fd7 100644 --- a/ChangeLog +++ b/ChangeLog @@ -2,6 +2,7 @@ * Small optimisation of command -pv change. * Set command -p path to /usr/sbin:/usr/bin:/sbin:/bin. + * Change "characters" for printf precision to "bytes". 2014-09-26 Harald van Dijk <harald@gigawatt.nl> diff --git a/src/dash.1 b/src/dash.1 index 6241a61..6ceb16a 100644 --- a/src/dash.1 +++ b/src/dash.1 @@ -1670,7 +1670,7 @@ for .Cm e and .Cm f -formats, or the maximum number of characters to be printed +formats, or the maximum number of bytes to be printed from a string .Sm off .Pf ( Cm b @@ -1758,7 +1758,7 @@ is printed. .It Cm s Characters from the string .Ar argument -are printed until the end is reached or until the number of characters +are printed until the end is reached or until the number of bytes indicated by the precision specification is reached; if the precision is omitted, all characters in the string are printed. .It Cm \&% |