On 13 May 2012, at 06:57, Paul Colquhoun wrote: > … >>>>> You can set LESSIGNORE='*.htm*'. This environment variable is used by >>>>> the lesspipe command, which is invoked by less and filters the input >>>>> file before giving it to less itself. >>>> >> … >> I have here now: >> >> $ env | grep -i less >> PAGER=/usr/bin/less >> LESS=-R -M --shift 5 >> LESSOPEN=|lesspipe %s >> LESSIGNORE=*.htm* >> $ > > … > > I would interpret the "don't do anything fancy" caveat on LESSIGNORE to mean > that wildcards may not work. Some experimenting on my system shows me that > this version seems to do what you want: > > LESSIGNORE="htm html" > > I don't normally have LESSOPEN set, so I havn't seen this situation before.
Blimey! Thank you! That's wonderful! :D Stroller.