On 2/24/06, Mrugesh Karnik <[EMAIL PROTECTED]> wrote:

--- y2k_vinay <[EMAIL PROTECTED]> wrote:


>
> how do,i do case-insensitive search within/inside a
> man-page ????

Strange.  Searches in man pages *are* case insensitive. Suppose a  man page contains:

foo and BAR went up a hill to install LINUX.

Now if you search "/foo" it will highlight foo.
If you search for "/bar" it will highlight BAR.

Isn't this what you want?

I tried this on rhel 4.

Anyway, a  workaround would be something like this:
man mkdir | col -bx > mkdir.manpage
vi mkdir.manpage

That lets you view man pages with vi.
You could write a  script  called "myman"  which takes the command name as $1, pipes man $1 to col -bx, saves the output to $1.manpage and finally opens it with vi. You'd need to include $2 for "man 3 mkdir" kind of searches.

Regards,
NMK.


***Archives:
http://groups.yahoo.com/group/linuxvadapav/messages

***Group Usage Guidelines (Please Read):
http://groups.yahoo.com/group/linuxvadapav/files/mailing_rules




SPONSORED LINKS
Linux software Linux operating system Linux
Hosting linux unix web Unix operating system Unix vs linux


YAHOO! GROUPS LINKS




Reply via email to