Bug 2376159

Summary: Create a man page for lesspipe.sh in the 'less' package
Product: [Fedora] Fedora Reporter: ricky.tigg
Component: lessAssignee: Michal Hlavinka <mhlavink>
Status: CLOSED ERRATA QA Contact: Fedora Extras Quality Assurance <extras-qa>
Severity: low Docs Contact:
Priority: unspecified    
Version: rawhideCC: fjanus, hhorak, kasal, mhlavink, mmuzila, praiskup
Target Milestone: ---Flags: mhlavink: mirror+
Target Release: ---   
Hardware: Unspecified   
OS: Unspecified   
Whiteboard:
Fixed In Version: less-679-4.fc44 Doc Type: ---
Doc Text:
Story Points: ---
Clone Of: Environment:
Last Closed: 2025-09-02 09:37:55 UTC Type: Bug
Regression: --- Mount Type: ---
Documentation: --- CRM:
Verified Versions: Category: ---
oVirt Team: --- RHEL 7.3 requirements from Atomic Host:
Cloudforms Team: --- Target Upstream Version:
Embargoed:

Description ricky.tigg 2025-07-03 13:16:03 UTC
$ rpm -ql less | grep -E 'lesspipe.sh$|README$|^/usr/share/man/man1'
/usr/bin/lesspipe.sh
/usr/share/doc/less/README
/usr/share/man/man1/less.1.gz
/usr/share/man/man1/lessecho.1.gz
/usr/share/man/man1/lesskey.1.gz

Hello. Thanks for packaging the 'less' component. On source project https://github.com/wofr06/lesspipe, 'man' pages for lesspipe.sh and README.md exist. For now, in order to get started with lesspipe on Fedora, one has to solely rely on section 

'man --pager='less -p "^INPUT PREPROCESSOR"' less'

of 'man' pages for the 'less' command. There it can be observed, that it does not include all relevant information and necessary instructions that are only presented in the 'man' pages file for lesspipe.sh and which would only allow the reader to get the proper insights of lesspipe's capabilities and limitations. Then the inclusion of the said file into this package would be fully justified. The inclusion of the README.md file for lesspipe.sh would be justified as well, perhaps not as much though.

In the meanwhile that file will have to be downloaded manually at https://github.com/wofr06/lesspipe/blob/lesspipe/lesspipe.1, then inspected with 'man -l lesspipe.1'.

Comment 1 Michal Hlavinka 2025-07-30 10:54:52 UTC
This will need a little different solution, because the link you provided is not upstream of lesspipe we use. Linux distributions often use own version of lesspipe (Fedora, Debian, Ubuntu,...) so it can't be guaranteed that linked man page reflects the lesspipe version we use. So, we'll add lesspipe man page, but we have to write it first, we can't just download it

Comment 2 Fedora Update System 2025-09-02 09:35:39 UTC
FEDORA-2025-8f3d884c79 (less-679-4.fc44) has been submitted as an update to Fedora 44.
https://bodhi.fedoraproject.org/updates/FEDORA-2025-8f3d884c79

Comment 3 Fedora Update System 2025-09-02 10:29:03 UTC
FEDORA-2025-8f3d884c79 (less-679-4.fc44) has been pushed to the Fedora 44 stable repository.
If problem still persists, please make note of it in this bug report.

Comment 4 ricky.tigg 2025-09-02 12:32:55 UTC
On up-to-date Rawhide system

$ dnf repo list | awk '$2 ~ /^Fedora/ {print}'
fedora   Fedora rawhide - x86_64
rawhide  Fedora - Rawhide - Developmental packages for the next Fedora release
updates  Fedora rawhide - x86_64 - Updates

less-679-2.fc43.src.rpm remains installed! Then the package not being populated to the Rawhide branch, the presumed modification cannot be evaluated.