Closed wileyhy closed 1 year ago
The lesspipe you are referring to is a quite different script. Discussions on this script do not belong here. Anyway, even if you are using Fedora, you can install the lesspipe.sh from here. Which one is then used is determined by the contents of the environment variable LESSOPEN. The Fedora script tries to interpret the contents based on the file ending, while the script here chooses the filtering algorithm based on the file contents if possible. Usually that leads to more precise results.
Reported this bug on Red Hat bugzilla. https://bugzilla.redhat.com/show_bug.cgi?id=2210583
Hi, Should this issue be filed here, or do you know perhaps of someplace else where one might ...? https://github.com/gwsw/less/issues/369 Here's a cut-&-paste of the affected script.
This text is from /usr/bin/lesspipe.sh in "less-608-2.fc38.x86_64.rpm" on Fedora 38. Cheers, Wiley