* Cygwin man does not recognise PerlRE ?
@ 2015-10-16 16:35 Andrey Repin
2015-10-16 18:17 ` Yaakov Selkowitz
2015-10-16 20:26 ` Warren Young
0 siblings, 2 replies; 10+ messages in thread
From: Andrey Repin @ 2015-10-16 16:35 UTC (permalink / raw)
To: All
Greetings, All!
It was bugging me for quite some time now. I don't like POSIX RE - they are
cumbersome and unwieldy.
Is there a possibility to build man for Cygwin with PerlRE support?
--
With best regards,
Andrey Repin
Friday, October 16, 2015 17:58:20
Sorry for my terrible english...
--
Problem reports: http://cygwin.com/problems.html
FAQ: http://cygwin.com/faq/
Documentation: http://cygwin.com/docs.html
Unsubscribe info: http://cygwin.com/ml/#unsubscribe-simple
^ permalink raw reply [flat|nested] 10+ messages in thread
* Re: Cygwin man does not recognise PerlRE ?
2015-10-16 16:35 Cygwin man does not recognise PerlRE ? Andrey Repin
@ 2015-10-16 18:17 ` Yaakov Selkowitz
2015-10-16 20:19 ` Warren Young
2015-10-17 0:20 ` Andrey Repin
2015-10-16 20:26 ` Warren Young
1 sibling, 2 replies; 10+ messages in thread
From: Yaakov Selkowitz @ 2015-10-16 18:17 UTC (permalink / raw)
To: cygwin
On Fri, 2015-10-16 at 19:33 +0300, Andrey Repin wrote:
> It was bugging me for quite some time now. I don't like POSIX RE - they are
> cumbersome and unwieldy.
> Is there a possibility to build man for Cygwin with PerlRE support?
Presumably that would come via PCRE, which man-db does not currently
support. Perhaps PTC upstream.
--
Yaakov
--
Problem reports: http://cygwin.com/problems.html
FAQ: http://cygwin.com/faq/
Documentation: http://cygwin.com/docs.html
Unsubscribe info: http://cygwin.com/ml/#unsubscribe-simple
^ permalink raw reply [flat|nested] 10+ messages in thread
* Re: Cygwin man does not recognise PerlRE ?
2015-10-16 18:17 ` Yaakov Selkowitz
@ 2015-10-16 20:19 ` Warren Young
2015-10-16 20:40 ` Yaakov Selkowitz
2015-10-17 0:20 ` Andrey Repin
1 sibling, 1 reply; 10+ messages in thread
From: Warren Young @ 2015-10-16 20:19 UTC (permalink / raw)
To: The Cygwin Mailing List
On Oct 16, 2015, at 12:18 PM, Yaakov Selkowitz wrote:
>
> On Fri, 2015-10-16 at 19:33 +0300, Andrey Repin wrote:
>> Is there a possibility to build man for Cygwin with PerlRE support?
>
> Presumably that would come via PCRE, which man-db does not currently
> support. Perhaps PTC upstream.
If there were such a mode, would it be allowed to enable it, since that would effectively put libpcre into Base?
--
Problem reports: http://cygwin.com/problems.html
FAQ: http://cygwin.com/faq/
Documentation: http://cygwin.com/docs.html
Unsubscribe info: http://cygwin.com/ml/#unsubscribe-simple
^ permalink raw reply [flat|nested] 10+ messages in thread
* Re: Cygwin man does not recognise PerlRE ?
2015-10-16 16:35 Cygwin man does not recognise PerlRE ? Andrey Repin
2015-10-16 18:17 ` Yaakov Selkowitz
@ 2015-10-16 20:26 ` Warren Young
2015-10-17 0:35 ` Andrey Repin
1 sibling, 1 reply; 10+ messages in thread
From: Warren Young @ 2015-10-16 20:26 UTC (permalink / raw)
To: cygwin
On Oct 16, 2015, at 10:33 AM, Andrey Repin <anrdaemon@yandex.ru> wrote:
>
> Is there a possibility to build man for Cygwin with PerlRE support?
I’m curious: what sort of incantations do you frequently give to man which involve REs?
Maybe I’m just too old-school, but I wasn’t aware that modern man programs even supported REs. Back when I was a boy, we said “man -k whatsit” and we liked it! :)
I think if I wanted to grep man pages with Perl syntax, I’d say
grep -PRsl whatsit /usr/share/man
Poking around on machines near me, I see Lucifredi’s version of man — which doesn’t seem to support regexes — on OS X 10.10, FreeBSD 10.1, and CentOS 5. Apparently RHEL moved to man-db in EL6 or EL7, since it’s on an EL7 box nearby.
--
Problem reports: http://cygwin.com/problems.html
FAQ: http://cygwin.com/faq/
Documentation: http://cygwin.com/docs.html
Unsubscribe info: http://cygwin.com/ml/#unsubscribe-simple
^ permalink raw reply [flat|nested] 10+ messages in thread
* Re: Cygwin man does not recognise PerlRE ?
2015-10-16 20:19 ` Warren Young
@ 2015-10-16 20:40 ` Yaakov Selkowitz
0 siblings, 0 replies; 10+ messages in thread
From: Yaakov Selkowitz @ 2015-10-16 20:40 UTC (permalink / raw)
To: cygwin
On Fri, 2015-10-16 at 14:19 -0600, Warren Young wrote:
> On Oct 16, 2015, at 12:18 PM, Yaakov Selkowitz wrote:
> >
> > On Fri, 2015-10-16 at 19:33 +0300, Andrey Repin wrote:
> >> Is there a possibility to build man for Cygwin with PerlRE support?
> >
> > Presumably that would come via PCRE, which man-db does not currently
> > support. Perhaps PTC upstream.
>
> If there were such a mode, would it be allowed to enable it, since that
> would effectively put libpcre into Base?
grep already requires libpcre1.
--
Yaakov
--
Problem reports: http://cygwin.com/problems.html
FAQ: http://cygwin.com/faq/
Documentation: http://cygwin.com/docs.html
Unsubscribe info: http://cygwin.com/ml/#unsubscribe-simple
^ permalink raw reply [flat|nested] 10+ messages in thread
* Re: Cygwin man does not recognise PerlRE ?
2015-10-16 18:17 ` Yaakov Selkowitz
2015-10-16 20:19 ` Warren Young
@ 2015-10-17 0:20 ` Andrey Repin
1 sibling, 0 replies; 10+ messages in thread
From: Andrey Repin @ 2015-10-17 0:20 UTC (permalink / raw)
To: Yaakov Selkowitz, cygwin
Greetings, Yaakov Selkowitz!
>> It was bugging me for quite some time now. I don't like POSIX RE - they are
>> cumbersome and unwieldy.
>> Is there a possibility to build man for Cygwin with PerlRE support?
> Presumably that would come via PCRE, which man-db does not currently
> support. Perhaps PTC upstream.
All my Linux boxes recognize PerlRE in man. >.<
Given, they are all Debian based... And most of them are Ubuntu. I don't know
how it is widespread.
--
With best regards,
Andrey Repin
Saturday, October 17, 2015 03:16:53
Sorry for my terrible english...
--
Problem reports: http://cygwin.com/problems.html
FAQ: http://cygwin.com/faq/
Documentation: http://cygwin.com/docs.html
Unsubscribe info: http://cygwin.com/ml/#unsubscribe-simple
^ permalink raw reply [flat|nested] 10+ messages in thread
* Re: Cygwin man does not recognise PerlRE ?
2015-10-16 20:26 ` Warren Young
@ 2015-10-17 0:35 ` Andrey Repin
0 siblings, 0 replies; 10+ messages in thread
From: Andrey Repin @ 2015-10-17 0:35 UTC (permalink / raw)
To: Warren Young, cygwin
Greetings, Warren Young!
> On Oct 16, 2015, at 10:33 AM, Andrey Repin <anrdaemon@yandex.ru> wrote:
>>
>> Is there a possibility to build man for Cygwin with PerlRE support?
> I’m curious: what sort of incantations do you frequently give to man which involve REs?
Typical ones. F.e.
^\s+<verse>\b
to quickly find term references.
> Maybe I’m just too old-school, but I wasn’t aware that modern man programs
> even supported REs. Back when I was a boy, we said “man -k whatsit” and we liked it! :)
> I think if I wanted to grep man pages with Perl syntax, I’d say
> grep -PRsl whatsit /usr/share/man
> Poking around on machines near me, I see Lucifredi’s version of man — which
> doesn’t seem to support regexes — on OS X 10.10, FreeBSD 10.1, and CentOS 5.
> Apparently RHEL moved to man-db in EL6 or EL7, since it’s on an EL7 box nearby.
--
With best regards,
Andrey Repin
Saturday, October 17, 2015 03:18:02
Sorry for my terrible english...
^ permalink raw reply [flat|nested] 10+ messages in thread
* Re: Cygwin man does not recognise PerlRE ?
2015-10-16 20:41 ` Warren Young
@ 2015-10-17 0:35 ` Andrey Repin
0 siblings, 0 replies; 10+ messages in thread
From: Andrey Repin @ 2015-10-17 0:35 UTC (permalink / raw)
To: Warren Young, cygwin
Greetings, Warren Young!
>>>>> Is there a possibility to build man for Cygwin with PerlRE support?
>>>>
>>>> Presumably that would come via PCRE, which man-db does not currently
>>>> support. Perhaps PTC upstream.
>>>
>>> If there were such a mode, would it be allowed to enable it, since that would effectively put libpcre into Base?
>>
>> Maybe someone can rebuild less(1) to build with PCRE, and then you can set MANPAGER=less.
> I don’t think Andrey means PCRE when searching the man page he is reading
> right now.
But I did mean exactly that.
Sorry, probably I should have been clearer. And, well, think my question more
thoroughly.
It seems like Mike's right, and the actual culprit is "less", rather than man.
--
With best regards,
Andrey Repin
Saturday, October 17, 2015 03:24:49
Sorry for my terrible english...
^ permalink raw reply [flat|nested] 10+ messages in thread
* Re: Cygwin man does not recognise PerlRE ?
2015-10-16 20:29 Mike Cappella
@ 2015-10-16 20:41 ` Warren Young
2015-10-17 0:35 ` Andrey Repin
0 siblings, 1 reply; 10+ messages in thread
From: Warren Young @ 2015-10-16 20:41 UTC (permalink / raw)
To: The Cygwin Mailing List
On Oct 16, 2015, at 2:29 PM, Mike Cappella wrote:
>
>> On Oct 16, 2015, at 12:18 PM, Yaakov Selkowitz wrote:
>>>
>>> On Fri, 2015-10-16 at 19:33 +0300, Andrey Repin wrote:
>>>> Is there a possibility to build man for Cygwin with PerlRE support?
>>>
>>> Presumably that would come via PCRE, which man-db does not currently
>>> support. Perhaps PTC upstream.
>>
>> If there were such a mode, would it be allowed to enable it, since that would effectively put libpcre into Base?
>
> Maybe someone can rebuild less(1) to build with PCRE, and then you can set MANPAGER=less.
I don’t think Andrey means PCRE when searching the man page he is reading right now. I think he means he wants PCRE support in “man --regex whatsit”.
--
Problem reports: http://cygwin.com/problems.html
FAQ: http://cygwin.com/faq/
Documentation: http://cygwin.com/docs.html
Unsubscribe info: http://cygwin.com/ml/#unsubscribe-simple
^ permalink raw reply [flat|nested] 10+ messages in thread
* Re: Cygwin man does not recognise PerlRE ?
@ 2015-10-16 20:29 Mike Cappella
2015-10-16 20:41 ` Warren Young
0 siblings, 1 reply; 10+ messages in thread
From: Mike Cappella @ 2015-10-16 20:29 UTC (permalink / raw)
To: cygwin
> On Oct 16, 2015, at 12:18 PM, Yaakov Selkowitz wrote:
> >
> > On Fri, 2015-10-16 at 19:33 +0300, Andrey Repin wrote:
> >> Is there a possibility to build man for Cygwin with PerlRE support?
> >
> > Presumably that would come via PCRE, which man-db does not currently
> > support. Perhaps PTC upstream.
>
> If there were such a mode, would it be allowed to enable it, since that would effectively put libpcre into Base?
Maybe someone can rebuild less(1) to build with PCRE, and then you can set MANPAGER=less.
--
Problem reports: http://cygwin.com/problems.html
FAQ: http://cygwin.com/faq/
Documentation: http://cygwin.com/docs.html
Unsubscribe info: http://cygwin.com/ml/#unsubscribe-simple
^ permalink raw reply [flat|nested] 10+ messages in thread
end of thread, other threads:[~2015-10-17 0:35 UTC | newest]
Thread overview: 10+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2015-10-16 16:35 Cygwin man does not recognise PerlRE ? Andrey Repin
2015-10-16 18:17 ` Yaakov Selkowitz
2015-10-16 20:19 ` Warren Young
2015-10-16 20:40 ` Yaakov Selkowitz
2015-10-17 0:20 ` Andrey Repin
2015-10-16 20:26 ` Warren Young
2015-10-17 0:35 ` Andrey Repin
2015-10-16 20:29 Mike Cappella
2015-10-16 20:41 ` Warren Young
2015-10-17 0:35 ` Andrey Repin
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).