Bug 2376159 - Create a man page for lesspipe.sh in the 'less' package
Summary: Create a man page for lesspipe.sh in the 'less' package
Keywords:
Status: CLOSED ERRATA
Alias: None
Product: Fedora
Classification: Fedora
Component: less
Version: rawhide
Hardware: Unspecified
OS: Unspecified
unspecified
low
Target Milestone: ---
Assignee: Michal Hlavinka
QA Contact: Fedora Extras Quality Assurance
URL:
Whiteboard:
Depends On:
Blocks:
TreeView+ depends on / blocked
 
Reported: 2025-07-03 13:16 UTC by ricky.tigg
Modified: 2025-09-02 12:32 UTC (History)
6 users (show)

Fixed In Version: less-679-4.fc44
Clone Of:
Environment:
Last Closed: 2025-09-02 09:37:55 UTC
Type: Bug
Embargoed:
mhlavink: mirror+


Attachments (Terms of Use)


Links
System ID Private Priority Status Summary Last Updated
Red Hat Issue Tracker FC-1985 0 None None None 2025-08-20 09:53:40 UTC

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.


Note You need to log in before you can comment on or make changes to this bug.