[Top][All Lists]

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: How to match regex in bash? (any character)

From: Roger
Subject: Re: How to match regex in bash? (any character)
Date: Thu, 29 Sep 2011 23:53:20 -0800
User-agent: Mutt/1.5.21 (2010-09-15)

> On Fri, Sep 30, 2011 at 06:20:32AM +0000, Stephane CHAZELAS wrote:
>2011-09-29, 13:52(-08), Roger:
>> Since you're saying the regex description is found within either regex(3) or
>> regex(7), couldn't there be a brief note within the Bash Manual Page be 
>> something
>> to the effect:
>No, it's not.
>I suppose bash could say: See your system regex(3)
>implementation documentation for the description of extended
>regular expression syntax on your system. That syntax should be
>compatible with one version or the other of the POSIX Extended
>Regular Expression syntax whose specification for the latest
>version as of writing can be found at:
>regex(3) points to the API (regex.h), how the system documents
>the regexps covered by that API is beyond bash knowledge.

Exactly, a simple "man regex" (aka regex(3)) points to regex.h here.  Few will
know how to search for the regex(7) manual file.


reply via email to

[Prev in Thread] Current Thread [Next in Thread]