I added qsv lens into my .lessfilter as the following:
*.csv | *.tsv)
qsv lens "$1"
;;
but when I try less file.csv, the terminal window (I'm using wezterm) stucked in a blank screen until I press 'q' to quit.
I tried csvlens $1 in .lessfilter as well, it gave me the same result (blank screen).
I also tried csvlens --colorful file.csv and qsv lens file.csv directly on the command line. Both works very well with colors. Don't know why they don't work in .lessfilter. The almost full version of my .lessfilter file:
#!/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:
- OS: Debian Sid
- qsv v5.1.0
- Term: wezterm v20240203-110809-5046fc22
- csvlens v0.13.0
I added
qsv lensinto my.lessfilteras the following:but when I try
less file.csv, the terminal window (I'm using wezterm) stucked in a blank screen until I press 'q' to quit.I tried
csvlens $1in.lessfilteras well, it gave me the same result (blank screen).I also tried
csvlens --colorful file.csvandqsv lens file.csvdirectly on the command line. Both works very well with colors. Don't know why they don't work in.lessfilter. The almost full version of my.lessfilterfile:System info: