Case insensitive search in man pages

  • Follow


Is it possible to do case insensitive search in man pages?
I can press, 'v' to get into the editor and then search after setting,
":set ignorecase'. Is there any direct way of achieving it?
0
Reply qazmlp1209 10/3/2004 7:03:45 AM

qazmlp1209@rediffmail.com (qazmlp) writes:

> Is it possible to do case insensitive search in man pages?
> I can press, 'v' to get into the editor and then search after setting,
> ":set ignorecase'. Is there any direct way of achieving it?

/[Ff][Oo][Oo]
/[Bb][Aa][Rr]

.... or maybe not.

-- 
M�ns Rullg�rd
mru@mru.ath.cx
0
Reply iso 10/3/2004 7:10:53 AM


In article <db9bbf31.0410022303.68806351@posting.google.com>,
 qazmlp1209@rediffmail.com (qazmlp) wrote:

> Is it possible to do case insensitive search in man pages?
> I can press, 'v' to get into the editor and then search after setting,
> ":set ignorecase'. Is there any direct way of achieving it?

Set:
        PAGER=less
        LESS=i

in your environment.  See less(1) for more details.

- jonathan
0
Reply Jonathan 10/3/2004 7:11:56 AM

Jonathan Adams wrote:
> In article <db9bbf31.0410022303.68806351@posting.google.com>,
>  qazmlp1209@rediffmail.com (qazmlp) wrote:
> 
> 
>>Is it possible to do case insensitive search in man pages?
>>I can press, 'v' to get into the editor and then search after setting,
>>":set ignorecase'. Is there any direct way of achieving it?
> 
> 
> Set:
>         PAGER=less
>         LESS=i
> 
> in your environment.  See less(1) for more details.
> 
> - jonathan

If you have a modern "more" you can get the same effect by setting

	MORE=-i

-- 
M.Biswas
0
Reply Mohun 10/3/2004 1:23:35 PM

2004-10-03, 00:11(-07), Jonathan Adams:
[...]
>         PAGER=less
>         LESS=i
>
> in your environment.  See less(1) for more details.
[...]

You can also toggle case sensitivity within less by typing "-i"
(minus, then "i").

Other pagers that support case insensitive search: most, w3m

-- 
Stephane
0
Reply Stephane 10/4/2004 6:48:03 AM

4 Replies
596 Views

(page loaded in 0.072 seconds)

Similiar Articles:













7/24/2012 6:17:44 PM


Reply: