Hello,

I was going through the bash documentation's HTML version
<https://www.gnu.org/software/bash/manual/bash.html> and found a small
error in the documentation.

In Bash Builtin Commands
<https://www.gnu.org/software/bash/manual/bash.html#Bash-Builtin-Commands>
section, in the subsection talking about *printf*, there is the following
paragraph:
%q

Causes printf to output the corresponding argument in a format that can be
reused as shell input. %q and %QP use the ANSI-C quoting style (see ANSI-C
Quoting
<https://www.gnu.org/software/bash/manual/bash.html#ANSI_002dC-Quoting>) if
any characters in the argument string require it, and backslash quoting
otherwise. If the format string uses the printf *alternate form*, these two
formats quote the argument string using single quotes.
It should say *"%Q"* instead of *"%QP".*I have attached the image of the
same from the manual as well.If this isn't the latest version of the manual
and this mistake has been corrected in the said version, please let me know.I
would also request you to check the other versions of this manual as listed
here <https://www.gnu.org/software/bash/manual/> for the same mistake as
well.If for the future, I can correct such mistakes myself through some
contribution pipeline, please let me know that as well as I often go
through GNU documentations.

I express my gratitude for providing these free manuals and hope I was help.

Thank you,Regards,Anshuman Khanna

Reply via email to