diff options
author | Florian Loth <florian.loth@yahoo.de> | 2023-03-02 23:05:07 +0100 |
---|---|---|
committer | Alejandro Colomar <alx@kernel.org> | 2023-03-06 13:37:53 +0100 |
commit | 075f0f11bf8ab7b5c18992d4c0dcf7572d5e769b (patch) | |
tree | ff4d7b5d56f43ad13c6ef56805d0502a917d9a40 | |
parent | 3032a293a74969989e3ed4921b690cf9442ac674 (diff) |
As printf expects the format and arguments as separate arguments, split
the string accordingly. This is already fixed in the HTML version of the
standard.
Signed-off-by: Alejandro Colomar <alx@kernel.org>
-rw-r--r-- | man-pages-posix-2017/man1p/read.1p | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/man-pages-posix-2017/man1p/read.1p b/man-pages-posix-2017/man1p/read.1p index e09b896..d7e3a0a 100644 --- a/man-pages-posix-2017/man1p/read.1p +++ b/man-pages-posix-2017/man1p/read.1p @@ -196,7 +196,7 @@ The following command: while read -r xx yy do - printf "%s %s\en$yy$xx" + printf "%s %s\en" "$yy" "$xx" done < \fIinput_file\fR .fi .P |