This is the mail archive of the cygwin mailing list for the Cygwin project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

Re: bashrc


On Thu, 17 Jun 2004, Chris W wrote:

> Hannu E K Nevalainen wrote:
>
> >Type this at the bash prompt;
> >$ MANPAGER="${MANPAGER}p ^INVOCATION" man bash
> >and hit enter.
>
> What is that supposed to do?  All I get is an error.

That's supposed to show you the part of the bash manpage dealing with
invocation.  However, it makes an assumption that you have MANPAGER
defined, which you probably don't.

> p: not found
> Error executing formatting or display command.
> System command (cd "/usr/share/man" && (echo ".pl 1100i"; /usr/bin/cat
> '/usr/share/man/man1/bash.1'; echo; echo ".pl \n(nlu+10") | /usr/bin/tbl
> | /usr/bin/nroff -c -mandoc | p ^INVOCATION) exited with status 32512.
> No manual entry for bash

Try this instead:
$ MANPAGER='/usr/bin/less -isrRp ^INVOCATION' man bash
HTH,
	Igor
-- 
				http://cs.nyu.edu/~pechtcha/
      |\      _,,,---,,_		pechtcha@cs.nyu.edu
ZZZzz /,`.-'`'    -.  ;-;;,_		igor@watson.ibm.com
     |,4-  ) )-,_. ,\ (  `'-'		Igor Pechtchanski, Ph.D.
    '---''(_/--'  `-'\_) fL	a.k.a JaguaR-R-R-r-r-r-.-.-.  Meow!

"I have since come to realize that being between your mentor and his route
to the bathroom is a major career booster."  -- Patrick Naughton

--
Unsubscribe info:      http://cygwin.com/ml/#unsubscribe-simple
Problem reports:       http://cygwin.com/problems.html
Documentation:         http://cygwin.com/docs.html
FAQ:                   http://cygwin.com/faq/


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]