Skip to content

dorianmariecom/dorian-sort-csv

Repository files navigation

dorian-sort-csv

Sort CSV rows by one or more keys.

Install

gem install dorian-sort-csv

Also included in the aggregate gem:

gem install dorian

Usage

sort-csv [options] [file ...] key [key ...]

Run sort-csv -h for generated option details and sort-csv -v for the installed version.

Notes

  • Use --headers for headered CSV and --integers/-i for numeric comparisons.

Examples

Sort by an integer id column

sort-csv --headers --integers users.csv id

About

No description, website, or topics provided.

Resources

License

Stars

0 stars

Watchers

0 watching

Forks

Releases

No releases published

Packages

 
 
 

Contributors