Bug 2224123
| Summary: | man converts non-marked-up ASCII dashes - into unicode dashes ‐ | ||||||
|---|---|---|---|---|---|---|---|
| Product: | [Fedora] Fedora | Reporter: | Adam Williamson <awilliam> | ||||
| Component: | man-db | Assignee: | Nikola Forró <nforro> | ||||
| Status: | NEW --- | QA Contact: | Fedora Extras Quality Assurance <extras-qa> | ||||
| Severity: | high | Docs Contact: | |||||
| Priority: | unspecified | ||||||
| Version: | 39 | CC: | fjanus, hhorak, jchaloup, kasal, ljavorsk, mmuzila, nforro, praiskup | ||||
| Target Milestone: | --- | ||||||
| Target Release: | --- | ||||||
| Hardware: | Unspecified | ||||||
| OS: | Linux | ||||||
| Whiteboard: | |||||||
| Fixed In Version: | Doc Type: | If docs needed, set a value | |||||
| Doc Text: | Story Points: | --- | |||||
| Clone Of: | Environment: | ||||||
| Last Closed: | Type: | --- | |||||
| Regression: | --- | Mount Type: | --- | ||||
| Documentation: | --- | CRM: | |||||
| Verified Versions: | Category: | --- | |||||
| oVirt Team: | --- | RHEL 7.3 requirements from Atomic Host: | |||||
| Cloudforms Team: | --- | Target Upstream Version: | |||||
| Embargoed: | |||||||
| Attachments: |
|
||||||
|
Description
Adam Williamson
2023-07-19 21:13:29 UTC
Created attachment 1976607 [details]
example text file that less sees as a man page if saved with the extension .1
I think this may be downstream only, as it likely involves the shenanigans in lesspipe.sh , which is a downstream source. Actually, since lesspipe.sh seems to sorta redirect to `man -P` for things it decides are man pages, maybe this is a man bug after all, not just man showing the bug because it's using less as a pager, as I first assumed? Yeesh. Let's reassign to man... Aha. So if I temporarily remove `/usr/bin/man`, forcing lesspipe.sh to use the fallback to `groff` instead (in its `manfilter()` function), the bug doesn't happen. So this does indeed seem to ultimately be man's fault. This bug appears to have been reported against 'rawhide' during the Fedora Linux 39 development cycle. Changing version to 39. |