Here is a simple PR to add a -u/--uniq flag to the xsv sort command that, if enabled, will drop identical consecutive lines in order to keep only one line per sorted value. It does not try to be clever about it by merging anything or else. This is often useful and is quite coherent with unix sort -u.
Hello @BurntSushi,
Here is a simple PR to add a
-u/--uniq
flag to thexsv sort
command that, if enabled, will drop identical consecutive lines in order to keep only one line per sorted value. It does not try to be clever about it by merging anything or else. This is often useful and is quite coherent with unixsort -u
.Have a good day