summaryrefslogtreecommitdiff
path: root/src/ls.c
diff options
context:
space:
mode:
authorPádraig Brady <P@draigBrady.com>2015-11-03 12:56:22 +0000
committerPádraig Brady <P@draigBrady.com>2015-11-04 23:30:15 +0000
commit5ef08864113505c6392158c9fac9a6cb1b3ac0e6 (patch)
tree03989580af0b143935d1319e69f6fd519d880aab /src/ls.c
parent697b8ce26549cceffa8745a1dc0f13654173c575 (diff)
downloadcoreutils-5ef08864113505c6392158c9fac9a6cb1b3ac0e6.tar.xz
printf: support the %q format to quote for shell
* src/printf.c (usage): Mention the new format. (print_formatted): Handle the quoting by calling out to the quotearg module with "shell-escape" mode. * doc/coreutils.texi (printf invocation): Document %q. * tests/misc/printf-quote.sh: New test. * tests/local.mk: Reference new test. * NEWS: Mention the new feature.
Diffstat (limited to 'src/ls.c')
0 files changed, 0 insertions, 0 deletions