Commit Graph
3 Commits
Author SHA1 Message Date
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