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' --- tests/misc/ls-misc.pl | 1 + 1 file changed, 1 insertion(+) (limited to 'tests') diff --git a/tests/misc/ls-misc.pl b/tests/misc/ls-misc.pl index 007e25787..8b97c50f0 100755 --- a/tests/misc/ls-misc.pl +++ b/tests/misc/ls-misc.pl @@ -136,6 +136,7 @@ my @Tests = ['q-qs-lit', '--quoting=literal', $q_bell, {OUT => "q\a\n"}], ['q-qs-sh', '--quoting=shell', $q_bell, {OUT => "q\a\n"}], ['q-qs-sh-a', '--quoting=shell-always', $q_bell, {OUT => "'q\a'\n"}], + ['q-qs-sh-e', '--quoting=shell-escape', $q_bell, {OUT => "'q'\$'\\a'\n"}], ['q-qs-c', '--quoting=c', $q_bell, {OUT => "\"q\\a\"\n"}], ['q-qs-esc', '--quoting=escape', $q_bell, {OUT => "q\\a\n"}], ['q-qs-c-1', '--quoting=c', -- cgit v1.2.3-70-g09d2