[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: Thu, 29 Sep 2011 08:03:11 -0400

> Seems I used 'man regex' as well here.  AKA regex(3).  But I did
> realize this a few weeks ago; the real regex description being 'man 7 regex'.
> The Bash Manual Page denotes only regex(3).

Not all the world is Linux.  The regex(3) reference is the only one
that is consistent across different operating systems.  In addition
to the ones I mentioned above, Solaris and HP-UX use regexp(5), for

I think the texinfo manual could stand a few more examples, especially
for the =~ operator.


``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/

reply via email to

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