'qsv lens' doesn't work with .lessfilter #2799
-
I added *.csv | *.tsv)
qsv lens "$1"
;; but when I try I also tried #!/bin/sh
case "$1" in
*.csv | *.tsv)
qsv lens "$1"
;;
*.iso)
isoinfo -l -i "$1"
;;
*)
# We don't handle this format.
exit 127
;;
esac
# No further processing by lesspipe necessary
exit 0 System info:
|
Beta Was this translation helpful? Give feedback.
Replies: 3 comments
-
I like |
Beta Was this translation helpful? Give feedback.
-
Thanks for the detailed report @wx672 . But if I'm not mistaken, And since both
Closing this for now. Please feel free to open a new issue to follow up. |
Beta Was this translation helpful? Give feedback.
-
so maybe try I have to confess, I occasionally check how many lines the terminal has, compare that to the number of output lines and then switch off |
Beta Was this translation helpful? Give feedback.
Thanks for the detailed report @wx672 .
But if I'm not mistaken,
.lessfilter
will wait for a 0 exit code before proceeding and displaying the contents of the command's stdout.And since both
qsv lens
andcsvlens
are interactive and won't return an exit code until you quit, you get a blank screen.qsv table
should work, though its not interactive.Closing this for now. Please feel free to open a new issue to follow up.