Sylvestre Ledru
bb0ffe17f7
tests: paste: ensure paste names the file in open and read errors
...
Reported at https://github.com/uutils/coreutils/issues/15983
* tests/paste/paste.pl: Add test cases.
Link: https://github.com/coreutils/coreutils/pull/430
2026-11-07 12:35:10 +00:00
Collin Funk
98c8b158b6
tests: make checks for $LOCALE_FR and $LOCALE_FR_UTF8 consistent
...
* tests/cp/non-utf8-name.sh: Check for $LOCALE_FR and $LOCALE_FR_UTF8
being empty or the string "none".
* tests/date/percent-percent.sh: Likewise.
* tests/du/block-size.sh (test_unit): Likewise.
* tests/ls/non-utf8-hidden.sh: Likewise.
* tests/mktemp/bad-unicode.sh: Likewise.
* tests/sort/sort-unique.sh: Likewise.
* tests/df/problematic-chars.sh: Check for $LOCALE_FR_UTF8 being empty
or the string "none".
* tests/expand/mb.sh: Likewise.
* tests/fold/fold-characters.sh: Likewise.
* tests/fold/fold-nbsp.sh: Likewise.
* tests/fold/fold-spaces.sh: Likewise.
* tests/fold/fold-zero-width.sh: Likewise.
* tests/join/join-utf8.sh: Likewise.
* tests/misc/sleep.sh: Likewise.
* tests/nl/multibyte.sh: Likewise.
* tests/paste/multi-byte.sh: Likewise.
* tests/printf/printf-mb.sh: Likewise.
* tests/printf/printf-quote.sh: Likewise.
* tests/sort/sort-debug-keys.sh: Likewise.
* tests/unexpand/mb.sh: Likewise.
2026-10-04 15:31:59 -07:00
Collin Funk
8bc9a81246
tests: paste: check the delimiter is reset for each file when -s is used
...
* tests/paste/paste.pl (@Tests): Add a test case.
2026-07-17 21:56:36 -07:00
Paul Eggert
23e696b0b2
maint: spelling fixes
2026-01-16 13:22:28 -08:00
Pádraig Brady
06d228043f
paste: support multi-byte delimiters
...
* src/paste.c (collapse_escapes): This is the central --delimiters
parsing function, so adjust to handle multi-byte chars with
mcel_scanz(). Populate a delimiters length array to support
characters of differing lengths.
(paste_serial): Use the delimiters length array to output
the appropriate delimiter.
(paste_parallel): Likewise.
* tests/paste/multi-byte.sh: A new test.
* tests/local.mk: Reference the new test.
* NEWS: Mention the improvement.
2026-01-13 14:32:01 +00:00