From: Pádraig Brady Date: Wed, 26 Jun 2024 22:17:12 +0000 (+0100) Subject: doc: document the c-maybe quoting style X-Git-Tag: v9.6~219 X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=72588b291594c762133090ef24fcad8894fc91f6;p=thirdparty%2Fcoreutils.git doc: document the c-maybe quoting style * doc/coreutils.texi (ls invocation): Document the "c-maybe" --quoting-style, which was added as an option in 2008. Reported at https://bugs.debian.org/1074334 --- diff --git a/doc/coreutils.texi b/doc/coreutils.texi index 1fa7f79ad2..c561ac7559 100644 --- a/doc/coreutils.texi +++ b/doc/coreutils.texi @@ -8714,6 +8714,9 @@ normally not require quoting. Quote strings as for C character string literals, including the surrounding double-quote characters; this is the same as the @option{--quote-name} (@option{-Q}) option. +@item c-maybe +Quote strings as for C character string literals, except omit the +surrounding double-quote if no escaping is required. @item escape Quote strings as for C character string literals, except omit the surrounding double-quote