mirror of
git://git.sv.gnu.org/coreutils.git
synced 2026-04-21 03:12:48 +02:00
doc: remove 'proposed' in regard to $'' descriptions
$'' is POSIX standard syntax as of POSIX.1-2024, as per: https://www.austingroupbugs.net/view.php?id=249 * doc/coreutils.texi (quotingStyles): Remove 'proposed'. * src/printf.c: Likewwise. Reported at https://bugs.debian.org/1074776
This commit is contained in:
@@ -8706,7 +8706,7 @@ like @command{csh}.
|
||||
Quote strings for the shell, even if they would normally not require quoting.
|
||||
@item shell-escape
|
||||
Like @samp{shell}, but also quoting non-printable characters using the POSIX
|
||||
proposed @samp{$''} syntax suitable for most shells.
|
||||
@samp{$''} syntax suitable for most shells.
|
||||
@item shell-escape-always
|
||||
Like @samp{shell-escape}, but quote strings even if they would
|
||||
normally not require quoting.
|
||||
@@ -13446,7 +13446,7 @@ from the converted string.
|
||||
@kindex %q
|
||||
An additional directive @samp{%q}, prints its argument string
|
||||
in a format that can be reused as input by most shells.
|
||||
Non-printable characters are escaped with the POSIX proposed @samp{$''} syntax,
|
||||
Non-printable characters are escaped with the POSIX @samp{$''} syntax,
|
||||
and shell metacharacters are quoted appropriately.
|
||||
This is an equivalent format to @command{ls --quoting=shell-escape} output.
|
||||
|
||||
|
||||
@@ -42,7 +42,7 @@
|
||||
except that octal escapes are of the form \0 or \0ooo.
|
||||
|
||||
%q = print an argument string in a format that can be
|
||||
reused as shell input. Escaped characters used the proposed
|
||||
reused as shell input. Escaped characters used the
|
||||
POSIX $'' syntax supported by most shells.
|
||||
|
||||
The 'format' argument is re-used as many times as necessary
|
||||
@@ -126,7 +126,7 @@ FORMAT controls the output as in C printf. Interpreted sequences are:\n\
|
||||
%b ARGUMENT as a string with '\\' escapes interpreted,\n\
|
||||
except that octal escapes are of the form \\0 or \\0NNN\n\
|
||||
%q ARGUMENT is printed in a format that can be reused as shell input,\n\
|
||||
escaping non-printable characters with the proposed POSIX $'' syntax.\
|
||||
escaping non-printable characters with the POSIX $'' syntax.\
|
||||
\n\n\
|
||||
and all C format specifications ending with one of diouxXfeEgGcs, with\n\
|
||||
ARGUMENTs converted to proper type first. Variable widths are handled.\n\
|
||||
|
||||
Reference in New Issue
Block a user