delorie.com/archives/browse.cgi   search  
Mail Archives: cygwin/2015/10/16/16:26:34

X-Recipient: archive-cygwin AT delorie DOT com
DomainKey-Signature: a=rsa-sha1; c=nofws; d=sourceware.org; h=list-id
:list-unsubscribe:list-subscribe:list-archive:list-post
:list-help:sender:content-type:mime-version:subject:from
:in-reply-to:date:content-transfer-encoding:message-id
:references:to; q=dns; s=default; b=ilA6B+z+tiJq+LEaKq3FZQ91G1mi
F+ajTg8JudG2hp93Y30IV6iatuNqz5UQRPboCNaXPcpY4zumqScM0vkMS+DdDhZL
hJqDocI9e8RPPhauy9oDye6e7Cv5Z3NJfbeBygxVqo85qseg6afb2THWq2aQ+NLR
G3CXzMGZgBIXVHg=
DKIM-Signature: v=1; a=rsa-sha1; c=relaxed; d=sourceware.org; h=list-id
:list-unsubscribe:list-subscribe:list-archive:list-post
:list-help:sender:content-type:mime-version:subject:from
:in-reply-to:date:content-transfer-encoding:message-id
:references:to; s=default; bh=c3baVHGAeJGN7pZ7rkKW9R10h7k=; b=ye
fxXHz/IElC1tWXr3aDiJRqyp0eoFloyQtBoj4SwQDespolPyY3Ub2xEsWhxW9+ij
Dna5spnmtu1Tlf2cHyXkwaMoo/mTWu9KBncRccK/EQ82Ej/dYWPvelpjA5WYd7iR
jFlLCTmjWDj9ZhSJx+/JxJLdkySJgFNEhHHBnzL4w=
Mailing-List: contact cygwin-help AT cygwin DOT com; run by ezmlm
List-Id: <cygwin.cygwin.com>
List-Subscribe: <mailto:cygwin-subscribe AT cygwin DOT com>
List-Archive: <http://sourceware.org/ml/cygwin/>
List-Post: <mailto:cygwin AT cygwin DOT com>
List-Help: <mailto:cygwin-help AT cygwin DOT com>, <http://sourceware.org/ml/#faqs>
Sender: cygwin-owner AT cygwin DOT com
Mail-Followup-To: cygwin AT cygwin DOT com
Delivered-To: mailing list cygwin AT cygwin DOT com
Authentication-Results: sourceware.org; auth=none
X-Virus-Found: No
X-Spam-SWARE-Status: No, score=1.1 required=5.0 tests=AWL,BAYES_50,KAM_LAZY_DOMAIN_SECURITY,T_RP_MATCHES_RCVD autolearn=no version=3.3.2
X-HELO: etr-usa.com
Mime-Version: 1.0 (Mac OS X Mail 8.2 \(2104\))
Subject: Re: Cygwin man does not recognise PerlRE ?
From: Warren Young <wyml AT etr-usa DOT com>
In-Reply-To: <19032584.20151016193336@yandex.ru>
Date: Fri, 16 Oct 2015 14:26:19 -0600
Message-Id: <BC27919D-E6DD-490B-B682-D6EA77759373@etr-usa.com>
References: <19032584 DOT 20151016193336 AT yandex DOT ru>
To: cygwin AT cygwin DOT com
X-IsSubscribed: yes
X-MIME-Autoconverted: from quoted-printable to 8bit by delorie.com id t9GKQV43031094

On Oct 16, 2015, at 10:33 AM, Andrey Repin <anrdaemon AT yandex DOT 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


- Raw text -


  webmaster     delorie software   privacy  
  Copyright 2019   by DJ Delorie     Updated Jul 2019