* kill: list Linux realtime signals correctly
Add list-specific signal helpers for RTMIN/RTMAX and unnamed
signal numbers, and use them in kill and env range iteration.
Keep send-oriented signal parsing unchanged for signal delivery.
* document low-byte signal decoding in list mode
- Fixed the -s flag incorrectly suppressing output when the delimiter is a newline.
- Improved performance in cut_fields_newline_char_delim.
- Updated tests to match GNU cut behavior for newline delimiters.
* sort: locale_failed_to_set unix check
* sort(test): failed to set locale
* sort(test): fix test for android
* sort(test): bypass other than gnu and linux
* uucore: Disallow slashes in determine_backup_suffix; use ln's OsStr-compatible implementations of *_backup_path.
* ln: Add test for backup suffix containing slashes.
---------
Co-authored-by: aweinstock <avi@zellic.io>
* date: fix %+ and %_ modifier edge cases
Fixes#10957:
1. %+ without explicit width now correctly omits sign for years
with <= 4 digits. Sign is only added when explicit width is
provided or year exceeds default width.
2. %_ without explicit width now correctly pads to the specifier's
default width (e.g., %_m produces " 6" instead of "6").
Changes:
- Add get_default_width() function mapping specifiers to POSIX
default widths
- Modify apply_modifiers() to accept explicit_width parameter
- Update tests for new behavior
Test results:
- date -d '1999-06-01' '+%+Y' -> "1999" (was "+1999")
- date -d '1999-06-01' '+%_m' -> " 6" (was "6")
* ln: Interactive and Force override each other instead of defaulting to Force if both are specified.
* ln: Add tests for `-i -f` and `-f -i` overrides.
---------
Co-authored-by: aweinstock <avi@zellic.io>