search man pages

Kaushal Shriyan kaushalshriyan at gmail.com
Wed Apr 8 11:33:31 UTC 2009


On Wed, Apr 8, 2009 at 4:01 PM, Heike C. Zimmerer <nospam08q2 at gmx.net>wrote:

> Kaushal Shriyan <kaushalshriyan at gmail.com> writes:
>
> > On Wed, Apr 8, 2009 at 3:31 PM, Heike C. Zimmerer <nospam08q2 at gmx.net
> >wrote:
> >
> >> Kaushal Shriyan <kaushalshriyan at gmail.com> writes:
> >>
> >> > how can i set ignore case while searching for any string uppercase or
> >> > lowercase in man pages ?
> >>
> >> man less
> >> /ignore-case
>
> > I did man bash | less -i  and typed /PARAMETER EXPANSION it said "Pattern
> > not found"
>
> Of curse, at least for my Bash man page.  The above chapter is spelled
> 'Parameter Expansion' in mine.
>
> The less man page clearly states that if you use '-i'. only search
> strings which contain *no* upper case characters are case-insensitive.
> But your search string does.  You need the other one of the two
> ignore-case options ('-I').
>
> Besides that, you don't need to pipe the man command's output into less
> since less is already the default pager.  You can type options (like -I)
> directly from within.
>
> (Please don't Cc: me directly, I prefer reading list discussions on the
> list and only there.)
>
>
> --
> ubuntu-users mailing list
> ubuntu-users at lists.ubuntu.com
> Modify settings or unsubscribe at:
> https://lists.ubuntu.com/mailman/listinfo/ubuntu-users
>

Thanks Heike and Avi :)
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <https://lists.ubuntu.com/archives/ubuntu-users/attachments/20090408/9a3c5fca/attachment.html>


More information about the ubuntu-users mailing list