Skip to content

dir, vdir: match GNU default quoting - #14538

Merged
RenjiSann merged 1 commit into
uutils:mainfrom
ChihweiLHBird:zhiwei/fix-dir-vdir-quoting
Sep 14, 2026
Merged

RenjiSann merged 1 commit into
uutils:mainfrom
ChihweiLHBird:zhiwei/fix-dir-vdir-quoting

Conversation

@ChihweiLHBird

@ChihweiLHBird ChihweiLHBird commented Sep 13, 2026

Copy link
Copy Markdown
Contributor

Apply escape quoting and TTY control-character display in Config instead of patching quoting_style in the dir and vdir wrappers.

Some basic examples:

File Command uutils before after / GNU
a b QUOTING_STYLE=literal dir a\ b a b
a b dir --zero a\ b\0 a b\0
a\nb dir -N on a TTY a?b real newline

@github-actions

github-actions Bot commented Sep 14, 2026

Copy link
Copy Markdown

GNU testsuite comparison:

Note: The gnu test tests/tail/tail-n0f is now being skipped but was previously passing.
Congrats! The gnu test tests/seq/seq-epipe is now passing!

Apply escape quoting and TTY control-character display in Config instead of patching quoting_style in the dir and vdir wrappers.

Signed-off-by: Zhiwei Liang <zhiwei.liang@zliang.me>
@ChihweiLHBird
ChihweiLHBird force-pushed the zhiwei/fix-dir-vdir-quoting branch from 7106426 to 7414ce8 Compare September 14, 2026 06:44
@RenjiSann
RenjiSann merged commit b6726cc into uutils:main Sep 14, 2026
104 checks passed
@ChihweiLHBird
ChihweiLHBird deleted the zhiwei/fix-dir-vdir-quoting branch September 14, 2026 13:57
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants