We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Consider the output of the following command:
$ cat /dev/null | xsv select 1 Selector index 1 is out of bounds. Index must be >= 1 and <= 0.
This might happen in practice when xsv is being fed data from a broken script. It looks like this is the relevant piece of code:
xsv/src/select.rs
Line 315 in 3de6c04
Perhaps it would make sense to catch this specific error case and throw an error like "input file is empty"?
The text was updated successfully, but these errors were encountered:
Catch input is empty with select using index
select
7e9749f
as described in BurntSushi/xsv#286
No branches or pull requests
Consider the output of the following command:
This might happen in practice when xsv is being fed data from a broken script. It looks like this is the relevant piece of code:
xsv/src/select.rs
Line 315 in 3de6c04
Perhaps it would make sense to catch this specific error case and throw an error like "input file is empty"?
The text was updated successfully, but these errors were encountered: