mirror of
https://github.com/RGBCube/uutils-coreutils
synced 2025-07-28 11:37:44 +00:00
sort: add "dictionary-order" flag.
The flag makes 'sort' command ignore non-dictionary symbols (non-alphanumeric and non-spaces). The only difference with GNU sort is that it takes ALL alphanumeric symbols, not only ASCII ones.
This commit is contained in:
parent
f44e5465b8
commit
71ba8b3fd6
4 changed files with 48 additions and 9 deletions
3
tests/fixtures/sort/dictionary_order.expected
vendored
Normal file
3
tests/fixtures/sort/dictionary_order.expected
vendored
Normal file
|
@ -0,0 +1,3 @@
|
|||
bbb
|
||||
./bbc
|
||||
bbd
|
3
tests/fixtures/sort/dictionary_order.txt
vendored
Normal file
3
tests/fixtures/sort/dictionary_order.txt
vendored
Normal file
|
@ -0,0 +1,3 @@
|
|||
./bbc
|
||||
bbd
|
||||
bbb
|
Loading…
Add table
Add a link
Reference in a new issue