miller icon indicating copy to clipboard operation
miller copied to clipboard

Exit code = 1 for `--csv skip-trivial-records` and CSV file's last record is blank

Open garyaderhold opened this issue 1 year ago • 1 comments

It makes sense to receive an exit code of 1 if the CSV contains a blank record and "skip-trivial-records" is not specified. But, if I specify "skip-trivial-records" and the file does indeed have trivial records shouldn't the exit code = 0?

That, or create another exit code that's for maybe warnings like this.

garyaderhold avatar Mar 28 '24 13:03 garyaderhold

See also https://github.com/johnkerl/miller/issues/1572#issuecomment-2185309016 for complicating issues ...

johnkerl avatar Jun 23 '24 20:06 johnkerl