Change #246253
Category | gcoreutils |
Changed by | Pádraig Brady <P | @draigBrady.com>
Changed at | Mon 20 Oct 2025 14:13:24 |
Repository | git://git.savannah.gnu.org/coreutils.git |
Project | gcoreutils |
Branch | master |
Revision | 09af58f4f96daf9ac469742fb7d061dab55cdf14 |
Comments
numfmt: support multi-byte --delimiter * bootstrap.conf: Depend on mbsstr() to robustly search for a multi-byte delimiter character (string) within a multi-byte string. * src/numfmt.c (main): Accept a valid multi-byte delimiter character. (next_field): Adjust delimiter search from single byte to multi-byte aware. Use mbsstr to find the first match. * tests/misc/numfmt.pl: Add test case. * NEWS: Mention the improvement.
Changed files
- NEWS
- bootstrap.conf
- src/numfmt.c
- tests/misc/numfmt.pl