diff options
| author | Pádraig Brady <P@draigBrady.com> | 2015-11-03 12:56:22 +0000 |
|---|---|---|
| committer | Pádraig Brady <P@draigBrady.com> | 2015-11-04 23:30:15 +0000 |
| commit | 5ef08864113505c6392158c9fac9a6cb1b3ac0e6 (patch) | |
| tree | 03989580af0b143935d1319e69f6fd519d880aab /scripts/git-hooks/commit-msg | |
| parent | ls: avoid redundant processing when already escaping (diff) | |
| download | coreutils-5ef08864113505c6392158c9fac9a6cb1b3ac0e6.tar.gz coreutils-5ef08864113505c6392158c9fac9a6cb1b3ac0e6.zip | |
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 'scripts/git-hooks/commit-msg')
0 files changed, 0 insertions, 0 deletions
