Skip to content

d-frey/lsort

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

45 Commits
 
 
 
 
 
 

Repository files navigation

Usage: lsort [OPTION]... FILE...
Sort almost-sorted FILE(s), works in-place

Options:
  -c, --compare N            compare no more than N characters per line
  -d, --distance N           maximum shift distance in bytes, default: 1M
  -r, --reverse              reverse sort order
      --sync                 use synchronous writes
      --immediate            disable deferred writes
      --dry-run              perform a trial run with no changes made

  -q, --quiet                suppress progress output
  -v, --verbose              report changes to the file
      --help                 display this help and exit
      --version              output version information and exit

N may be followed by the following multiplicative suffixes:
B=1, K=1024, and so on for M, G, T, P, E.

By default, --compare is 0, meaning no limit when comparing lines.
A non-zero value for --compare may result in non-sorted files.

Report bugs to: <https://github.com/d-frey/lsort/>

About

Sort almost-sorted files in-place

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages