help-bash
[Top][All Lists]
Advanced

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

Re: [Help-bash] perl regex in bash


From: John Kearney
Subject: Re: [Help-bash] perl regex in bash
Date: Mon, 18 Mar 2013 21:19:16 +0100
User-agent: Mozilla/5.0 (Windows NT 6.1; WOW64; rv:17.0) Gecko/20130307 Thunderbird/17.0.4

Am 16.03.2013 16:17, schrieb Peng Yu:
Hi,

It seems that bash only accept POSIX regex as stated in regex(3). Is
there a way to allow perl regex in bash. In particular, I want to use
(?:...) as defined in perl.

Just say what you want to do and we'll tell you how to do it best in bash.
There is very little that you can't do in bash, and worst case sed/awk.

depending on what you want to do you could even use perl in bash.

--
View John
          Kearney's profile on LinkedIn John Kearney

reply via email to

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