bashrc

Hannu E K Nevalainen garbage_collector@telia.com
Thu Jun 17 21:08:00 GMT 2004


> From: Igor Pechtchanski
> Sent: Thursday, June 17, 2004 7:37 PM

> 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.

 Heh, there I get for trying ;-P

Did you copy and paste the line above, as is?
 Re-typing is awkward, you often miss one or two characters - often cruicial
for the result.

> 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.

Yes indeed; I expected $MANPAGER to be set to something meaningful. (Might
it be that this is the default?)

> > 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,

... which is exactly what I got out of the above. Well, thanks to Igor (once
again) we're back on track :-)


/Hannu E K Nevalainen, B.Sc. EE - 59+16.37'N, 17+12.60'E             --76-->

** on a mailing list; please keep replies on that particular list **

-- printf("LocalTime: UTC+%02d\n",(DST)? 2:1); --
--END OF MESSAGE--


--
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/



More information about the Cygwin mailing list