mirror of
git://git.code.sf.net/p/zsh/code
synced 2025-05-20 23:41:27 +02:00
52385: avoid "tr" in test output formatting
This commit is contained in:
parent
2a538491eb
commit
1a3ebb68d6
2 changed files with 7 additions and 2 deletions
|
@ -1,3 +1,7 @@
|
|||
2024-01-25 Bart Schaefer <schaefer@zsh.org>
|
||||
|
||||
* 52385: Test/B03print.ztst: avoid "tr" in test output formatting
|
||||
|
||||
2024-01-24 Bart Schaefer <schaefer@zsh.org>
|
||||
|
||||
* 52496 + 52377: Doc/Zsh/options.yo, Doc/Zsh/params.yo: clarify
|
||||
|
|
|
@ -305,8 +305,9 @@
|
|||
foo+=$'\tone\ttwo\tthree\tfour\n'
|
||||
foo+=$'\t\tone\t\ttwo\t\tthree\t\tfour'
|
||||
foo+='\0' # regression test for multibyte tab expand
|
||||
print -x4 $foo | tr '\0' Z # avoid raw nul byte in expected output below
|
||||
print -X4 $foo | tr '\0' Z
|
||||
# avoid raw nul byte in expected output below
|
||||
print ${"$(print -x4 $foo)"/$'\0'/Z}
|
||||
print ${"$(print -X4 $foo)"/$'\0'/Z}
|
||||
0:Tab expansion by print
|
||||
>one two three four
|
||||
> one two three four
|
||||
|
|
Loading…
Reference in a new issue