diff options
author | Pádraig Brady <P@draigBrady.com> | 2015-11-03 10:13:11 +0000 |
---|---|---|
committer | Pádraig Brady <P@draigBrady.com> | 2015-11-04 23:30:15 +0000 |
commit | 7549be4af7e8ac9a088927c35a011da835968b9f (patch) | |
tree | 74d20051c2ead5258be580a9233f9fd6b8f66f59 /doc | |
parent | ed2326ac367a77b1d88493e96ccebdd36f596cdb (diff) | |
download | coreutils-7549be4af7e8ac9a088927c35a011da835968b9f.tar.xz |
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'
Diffstat (limited to 'doc')
-rw-r--r-- | doc/coreutils.texi | 6 |
1 files changed, 6 insertions, 0 deletions
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 |