[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: Greg Wooledge
Subject: Re: How to match regex in bash? (any character)
Date: Thu, 29 Sep 2011 12:06:25 -0400
User-agent: Mutt/

On Thu, Sep 29, 2011 at 10:59:19AM -0500, Peng Yu wrote:
> We all have discovered that regex(3) is not consistent across all the
> platform. Why you say it is portable?

The three systems I mentioned earlier today all have regex(3).  Which
system have you found, which doesn't have it?

> As I mentioned previously, the best is to add a few examples in man
> bash.

I would not object to that, but I can't speak for Chet.

Another option would be to refer to the POSIX definition of
Extended Regular Expressions as a web site.  I wish they had
better URLs, though.  The URL I have for it at the moment is

reply via email to

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