Peter,

I think your email may have ended up in my spam box and so I haven't seen it 
until now.  Sorry about that.

It looks like .lessfilter is lesspipe specific and only works on files lesspipe 
doesn't deal with, so while your solution highlights x.html and decompresses 
x.html.gz, it doesn't highlight x.html.gz.

I guess something needs to be modified in less (allowing multiple %s in 
LESSOPEN) or lesspipe (using lessfilter after lesspipe's processing) to make 
this possible?

Thanks,
Jayen

P.S. I generated my .lessfilter with: sed -r 's@ 
--failsafe(.*)(#|$|;;)@\12>/dev/null \2@' 
/usr/share/source-highlight/src-hilite-lesspipe.sh > ~/.lessfilter






--
To UNSUBSCRIBE, email to debian-bugs-dist-requ...@lists.debian.org
with a subject of "unsubscribe". Trouble? Contact listmas...@lists.debian.org

Reply via email to