[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:
>http://pubs.opengroup.org/onlinepubs/9699919799/basedefs/V1_chap09.html#tag_09_04
>
>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.
--
Roger
http://rogerx.freeshell.org/
- Re: How to match regex in bash? (any character), (continued)
- Re: How to match regex in bash? (any character), Peng Yu, 2011/09/27
- Re: How to match regex in bash? (any character), Roger, 2011/09/28
- Re: How to match regex in bash? (any character), Chet Ramey, 2011/09/29
- Re: How to match regex in bash? (any character), Greg Wooledge, 2011/09/29
- Re: How to match regex in bash? (any character), Peng Yu, 2011/09/29
- Re: How to match regex in bash? (any character), Chet Ramey, 2011/09/29
- Re: How to match regex in bash? (any character), Peng Yu, 2011/09/29
- Re: How to match regex in bash? (any character), Chet Ramey, 2011/09/29
- Re: How to match regex in bash? (any character), Roger, 2011/09/29
- Re: How to match regex in bash? (any character), Stephane CHAZELAS, 2011/09/30
- Re: How to match regex in bash? (any character),
Roger <=
- Re: How to match regex in bash? (any character), Greg Wooledge, 2011/09/29
- Re: How to match regex in bash? (any character), Peng Yu, 2011/09/29
- Re: How to match regex in bash? (any character), Roman Rakus, 2011/09/29
- Re: How to match regex in bash? (any character), Greg Wooledge, 2011/09/29
- Re: How to match regex in bash? (any character), Chet Ramey, 2011/09/29
- Re: How to match regex in bash? (any character), Chet Ramey, 2011/09/29