Word split between two lines is not found in man pages search
4
votes
1
answer
273
views
I'm on Linux Mint 21 (Ubuntu based). Just noted
man
pages internal search (/
) does not find a word if split between two lines (the word is whole in the source of the page, displayed with a hyphen and indentation). I was very surprised. Any remedies?
Web search did not find this issue in top results, maybe it is rare, even a glitch on my system?
Could I disable word splitting as a workaround? Completely? If not, for specific lines in roff
code?
E.g. man mpv.1
(sup‐ ported.)
> DESCRIPTION
> mpv is a media player based on MPlayer and mplayer2. It supports a wide variety of video file formats, audio and video codecs,
> and subtitle types. Special input URL
> types are available to read input from a variety of sources other than disk files. Depending on platform, a variety of different
> video and audio output methods are sup‐
> ported.
Source:
> \fBmpv\fP is a media player based on MPlayer and mplayer2. It supports
> a wide variety of video file formats, audio and video codecs, and
> subtitle types. Special input URL types are available to read input
> from a variety of sources other than disk files. Depending on
> platform, a variety of different video and audio output methods are
> supported.
Edit: edited /etc/groff/man.local
.\" -*- nroff -*-
.\"
.\" This file is loaded after an-old.tmac.
.\" Put any local modifications to an-old.tmac here.
.
. \" Disable hyphenation.
.nr HY 0
.
.if n \{\
etc...
Asked by Martian2020
(1443 rep)
Jul 2, 2024, 03:51 AM
Last activity: Jul 2, 2024, 10:43 AM
Last activity: Jul 2, 2024, 10:43 AM