Open ggrothendieck opened 3 years ago
You should be able to just do xsv select -s <(cat field.txt) myfile.csv
assuming you're using something like bash or zsh.
That did not work on WSL/bash when I tried it but in any case it does not help in Windows nor does it address the command line length problem. Biological data can have tens or hundreds of thousands of columns.
It would be convenient, particularly if there are a large number of field names, to be able to specify a file that contains them one per line, say. This would also avoid quoting problems, command line length restrictions, etc.