On 3 December 2010 17:56, Colin Watson <[email protected]> wrote:
> On Fri, Dec 03, 2010 at 12:24:34PM +0000, Reuben Thomas wrote:
>> On 2 December 2010 23:59, Colin Watson <[email protected]> wrote:
>> > Just so that I know where to look, what sort of search are you referring
>> > to?  apropos?  man -K?  A search in a pager?
>>
>> Sorry, I meant a search in a pager (in my case, less, though I doubt
>> it matters which pager).
>>
>> However, you make me realise that the only obvious solution is to
>> prevent hyphenation, since once the text has been fed to the pager, it
>> would have itself to have a search function that understands
>> hyphenation in order to work as expected.
>>
>> Just to make sure, here's an example: if I search for "configuration",
>> but an instance of that word has been split across a line as
>> "config-\nuration" by groff, then less (or most other pagers) won't
>> find that instance.
>
> OK; have you considered using the --no-hyphenation option to man, then?

Didn't know it existed. That's exactly what I need, thanks. You can
close this bug.

-- 
http://rrt.sc3d.org



--
To UNSUBSCRIBE, email to [email protected]
with a subject of "unsubscribe". Trouble? Contact [email protected]

Reply via email to