This is the mail archive of the
mailing list for the Cygwin project.
Re: Searching manpages for option codes, e.g. "--all"
- From: Tim McDaniel <tmcd at panix dot com>
- Cc: cygwin at cygwin dot com
- Date: Tue, 29 Nov 2011 15:56:24 -0600 (CST)
- Subject: Re: Searching manpages for option codes, e.g. "--all"
- References: <email@example.com>
On Tue, 29 Nov 2011, carolus wrote:
After opening "man ls", trying to search for "--all" leads to
"Pattern not found (press RETURN)".
My experiment agrees with that. Do you know why that happens -- what
is it doing so "/--all" doesn't work?
Inquiring on comp.unix.shell, I was told that for this kind of
search to work properly in linux , one must set PAGER=less. However,
that does not seem to work in Cygwin, at least using the old default
terminal. Is there a workaround?
Whether in an older default terminal or the new one, I've never had a
I do them as separate statements because older Bourne shells do not
allow the combined form
But bash does.
Further, on my system with little customization, the default man pager
is less anyway, so (for example)
invokes less anyway.
Tim McDaniel, firstname.lastname@example.org
Problem reports: http://cygwin.com/problems.html
Unsubscribe info: http://cygwin.com/ml/#unsubscribe-simple