]> git.ipfire.org Git - thirdparty/coreutils.git/commit
basename: quote problematic names on tty
authorPádraig Brady <P@draigBrady.com>
Thu, 30 Jul 2026 20:48:22 +0000 (21:48 +0100)
committerPádraig Brady <P@draigBrady.com>
Sat, 1 Aug 2026 11:38:28 +0000 (12:38 +0100)
commite897dfd023dad6b9173ad457fc9d9110f2403a5f
tree2347ce6fee806fa2bbfd61fa30bfa8880104aba3
parent05ab72f236bea585f6698c1099641f3de91762e5
basename: quote problematic names on tty

* doc/coreutils.texi (basename invocation): Mention $QUOTING_STYLE
is significant.
* src/basename.c (perform_basename, main): Quote output when
appropriate.
* tests/misc/basename.pl: Add a test case.
* NEWS: Mention the improvement.
NEWS
doc/coreutils.texi
src/basename.c
tests/misc/basename.pl