-
-
Notifications
You must be signed in to change notification settings - Fork 98
Closed
Description
Prerequisites
- make sure you're are using the latest version by
csvtk version - read the usage
Describe your issue
It is rather a question
Current behaviour of csvtk sort on an empty CSV is to return an non-0 exit code with [ERRO] no data to sort
Do you think it would be a good idea to rather not ERROR, but simply return same CSV with a [WARN] instead ?
This is already the behaviour of csvtk freq for example :
echo -e "c1,c2" | csvtk sort
# -> [ERRO] no data to sort
echo -e "c1,c2" | csvtk freq
# -> c1,frequencyThank you
I'm grateful to users who have greatly helped to report bugs and suggested new features.
I may respond to issues or fix bugs quickly, but I usually implement new features periodically (two or more weeks).
Thanks to YOU for developping csvtk, it is a great tool !
Metadata
Metadata
Assignees
Labels
No labels