From 7549be4af7e8ac9a088927c35a011da835968b9f Mon Sep 17 00:00:00 2001 From: Pádraig Brady Date: Tue, 3 Nov 2015 10:13:11 +0000 Subject: ls: document and test new shell-escape quoting * doc/coreutils.texi (ls invocation): Describe the new 'shell-escape' and 'shell-escape-always' quoting options. * src/ls.c (usage): Mention the new quoting options. * tests/misc/ls-misc.pl: Add a test for 'shell-escape' --- doc/coreutils.texi | 6 ++++++ 1 file changed, 6 insertions(+) (limited to 'doc') diff --git a/doc/coreutils.texi b/doc/coreutils.texi index 270e6a67a..177379b38 100644 --- a/doc/coreutils.texi +++ b/doc/coreutils.texi @@ -7676,6 +7676,12 @@ The quoting is suitable for POSIX-compatible shells like like @command{csh}. @item shell-always 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. +@item shell-escape-always +Like @samp{shell-escape}, but quote strings even if they would +normally not require quoting. @item c Quote strings as for C character string literals, including the surrounding double-quote characters; this is the same as the -- cgit v1.2.3-54-g00ecf