[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: |
Chet Ramey |
Subject: |
Re: How to match regex in bash? (any character) |
Date: |
Tue, 27 Sep 2011 19:51:13 -0400 |
User-agent: |
Mozilla/5.0 (Macintosh; Intel Mac OS X 10.6; rv:6.0.2) Gecko/20110902 Thunderbird/6.0.2 |
On 9/27/11 6:41 PM, Roger wrote:
> Correct. After reading the entire Bash Manual page, I didn't see much mention
> of documentation resources (of ERE) besides maybe something about egrep from
> Bash's Manual Page or elsewhere on the web. After extensive research for
> regex/regexpr, only found Perl Manual Pages.
>
> Might be worth mentioning a link or good reference for this ERE within the
> Bash
> Manual (Page)?
The bash man page refers to regex(3). On my BSD (Mac OS X) system, that
refers to re_format(7), which documents the BRE and ERE regular expression
formats. On an Ubuntu box, to choose a representative Linux example, that
refers to regex(7), which contains the same explanation, and the GNU regex
manual. This sort of "chained" man page reference is common.
If you like info, `info regex' on a Linux box should display both pages.
Chet
--
``The lyf so short, the craft so long to lerne.'' - Chaucer
``Ars longa, vita brevis'' - Hippocrates
Chet Ramey, ITS, CWRU address@hidden http://cnswww.cns.cwru.edu/~chet/
- How to match regex in bash? (any character), Peng Yu, 2011/09/26
- Re: How to match regex in bash? (any character), Steven W. Orr, 2011/09/26
- Re: How to match regex in bash? (any character), Dennis Williamson, 2011/09/26
- Re: How to match regex in bash? (any character), John Reiser, 2011/09/26
- Re: How to match regex in bash? (any character), Roger, 2011/09/26
- Re: How to match regex in bash? (any character), Greg Wooledge, 2011/09/27
- Re: How to match regex in bash? (any character), Roger, 2011/09/27
- Re: How to match regex in bash? (any character),
Chet Ramey <=
- 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