mirror of
https://github.com/RGBCube/serenity
synced 2025-07-27 06:37:44 +00:00
sort: Add the -z
option to split lines on \0
rather than a newline
This commit is contained in:
parent
b7676cc436
commit
e6112446db
2 changed files with 10 additions and 7 deletions
|
@ -19,6 +19,7 @@ Sort each lines of INPUT (or standard input). A quick sort algorithm is used.
|
|||
* `-n`, `--numeric`: Treat the key field as a number
|
||||
* `-t char`, `--sep char`: The separator to split fields by
|
||||
* `-r`, `--reverse`: Sort in reverse order
|
||||
* `-z`, `--zero-terminated`: Use `\0` as the line delimiter instead of a newline
|
||||
|
||||
## Examples
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue