262 Commits

Author SHA1 Message Date
ksgk1 b3d8706a2c sort: fix inconsistent sort ordering under i18n-collator with equal sorting keys (#12013)
* sort: Fix inconsistent sort orderg under i18n-collator with equal sorting keys.

* Test cases for fix #11980

* Simplyfing fix for #11980

* Fix clippy lint and rename test files.

* Remove old test files

* Update tests/by-util/test_sort.rs

Co-authored-by: Daniel Hofstetter <daniel.hofstetter@42dh.com>

* Update tests/by-util/test_sort.rs

Co-authored-by: Daniel Hofstetter <daniel.hofstetter@42dh.com>

* Removing redundant test and swapping default order for sort to match sort's ordering.

* Comment for clarification.

---------

Co-authored-by: Daniel Hofstetter <daniel.hofstetter@42dh.com>
2026-04-30 10:33:48 +02:00
Dorian Péron 7fb2bf0db4 test(cksum): add regular tests for blake3 2026-03-25 16:51:37 +01:00
oech3 cde1354332 Remove hashsum files 2026-02-24 09:15:41 +01:00
cerdelen 42e3ab6e49 pr: implement the -e flag (#10167)
* pr: new functionality: expand-tabs + tests

pr: rebase

* pr: pipe test input instead of using files

* pr: parameterize tests
2026-02-14 10:10:43 -08:00
oech3 8e5966300b cat: strip errno (#10885) 2026-02-12 03:27:17 -08:00
Kaua Klassmann 808865e4ac fix: scientific notation is incorrectly parsed in general numeric sort (#10437)
* fix: scientific notation is incorrectly parsed in general sort

* test(sort): refactor exponents_positive_general test

---------

Co-authored-by: Sylvestre Ledru <sylvestre@debian.org>
2026-02-12 02:52:22 -08:00
Sylvestre Ledru 1f4a976a92 Revert "unexpand: use buffered read & improve performance by 34.66% (#10798)" (#10819)
This reverts commit 4bbd71fffb.
2026-02-08 16:14:09 +01:00
cerdelen 4bbd71fffb unexpand: use buffered read & improve performance by 34.66% (#10798) 2026-02-08 15:16:19 +01:00
Dorian Péron 9459361524 Merge branch 'main' into hashsum-del-pre 2026-02-05 15:02:12 +01:00
Aaron Ang c9c78b2415 chore: run pre-commit on all files (#10119) 2026-02-04 22:12:53 +01:00
Cedric Erdelen 0400116af8 expand: use chunking read calls
expand: Edgecase fix

expand: spelling error in comment

expand: use byte literals instead of hex values for better readability
2026-02-03 21:16:34 +01:00
oech3 a010e0192d Remove the word: hashsums 2026-02-03 16:17:59 +09:00
mattsu ce96a263c8 fix(tests): correct sorting order of decimal values in numeric sort fixture
Update the expected output for the multiple decimals numeric sort test to reflect the proper ascending order. The values "576,446.88800000" and "576,446.890" were misplaced and have been repositioned to their correct locations in the sorted sequence, ensuring the test accurately validates the sorting logic. The debug fixture was updated accordingly.
2026-02-01 22:34:06 +01:00
mattsu b1b2a198e5 i18n: treat C locale as no grouping separator 2026-02-01 22:34:06 +01:00
Dorian Peron 70c37a72ad sha512sum: introduce standalone binary 2026-01-28 10:14:14 +01:00
Dorian Peron 417c424213 sha384sum: introduce standalone binary 2026-01-28 10:14:12 +01:00
Dorian Peron 928ca15251 sha256sum: introduce standalone binary 2026-01-28 10:14:10 +01:00
Dorian Peron e5f72019d2 sha224sum: introduce standalone binary 2026-01-28 10:14:07 +01:00
Dorian Peron 6aa5b1fe66 sha1sum: introduce standalone binary 2026-01-28 10:14:03 +01:00
Dorian Peron d22c7e14ec b2sum: introduce standalone binary 2026-01-28 10:14:01 +01:00
Dorian Peron a968342d42 md5sum: introduce standalone binary 2026-01-28 10:13:57 +01:00
Kaua Klassmann 1a64417aae fix: numeric sort (-n) does not recognize thousand separators (#10339) 2026-01-21 21:48:50 +01:00
Rostyslav Toch d7ed3c6bba ptx: handle duplicate input files (#9823) 2026-01-18 16:59:18 -05:00
Jeffrey Finkelstein bfdbf59646 pr: use 72 char line width for all page headers
Set the default line width to 72 for all page headers in `pr`,
regardless of whether a custom date format is being used. Before, a
single space was used to separate the three components of the header
(date, filename, and page number) if a custom date format was not given.
2026-01-04 18:36:33 -05:00
oech3 76063511cb is_a_tty.sh: Reduce lines 2025-12-24 20:14:19 +09:00