Re: Searching in Manpage with Bash

From: Alan Connor (zzzzzz_at_xxx.yyy)
Date: 05/19/04


Date: Wed, 19 May 2004 19:26:58 GMT

On Thu, 20 May 2004 00:41:11 -0000, Edward Wijaya <ewijaya@singnet.com.sg> wrote:
>
>
> Hi,
>
> Is there a way to search a text within
> a Manpage with bash?
>
> Man itself doesn't seem to have any
> particular command right?
>

Just hit "/" for forward searches and enter your search string. "?" for
backwards searches. "n" to repeat. Escape-u to clear the highlighted
strings from the screen. Up/Down arrows for search history.

This is when PAGER is set to less, which I highly recommend. It's the
best one and worth learning a bit about.

Man man; man less.

AC



Relevant Pages

  • Re: using regular expressions in shell script conditional statements
    ... >> expressions as interpreted by bash and sed are not exactly ... >> in the perlrequick manpage. ... Regex used by Perl is not POSIX ... being both an interactive shell and a scripting language. ...
    (comp.os.linux.misc)
  • Re: dircolors -> Liste der Farben
    ... sollte man gelesen haben bevor man im Usenet ... Das steht in der Manpage der Bash. ... # The programmer's national anthem is 'AAAAAAAARRRRGHHHHH!!'. ...
    (de.comp.os.unix.shell)
  • Re: `whoami`? I think I know, my house is in the meadows though...
    ... Stephane CHAZELAS wrote: ... Where did I say the 3.00.16 was on LINUX? ... You DO know that Bash runs on more than just ... the BASH manpage thus bash must make use of the $USER variable else the ...
    (comp.unix.shell)
  • Proper behaviour for wait()?
    ... anyone know what the "proper" behavior for waitis when SIGCHLD ... in the waitmanpage one way or tother, ... bash$ cat wait.c ... waitpid() = 7553 ...
    (freebsd-hackers)