[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[PATCH] tests: add fold(1) test for --bytes option
From: |
Bernhard Voelker |
Subject: |
[PATCH] tests: add fold(1) test for --bytes option |
Date: |
Sun, 29 Sep 2024 18:18:38 +0200 |
User-agent: |
Mozilla Thunderbird |
Hi *,
Lukas notified me that the downstream I18N patch messed up functionality in
fold(1) again, this time for 'fold -b'.
Reproducer (with buggy dowstream-fold):
$ LC_ALL=en_US.UTF-8 fold -b -w6 <<< $'1234567890\nabcdefghij\n1234567890'
123456
7890
a
bcdefg
hij
12
345678
90
Instead, it should output the same as in the C locale:
$ LC_ALL=C fold -b -w6 <<< $'1234567890\nabcdefghij\n1234567890'
123456
7890
abcdef
ghij
123456
7890
I'd like to add the attached tests here.
Have a nice day,
Berny
0001-tests-add-fold-1-test-for-bytes-option.patch
Description: Text Data
- [PATCH] tests: add fold(1) test for --bytes option,
Bernhard Voelker <=