shell regex matching help

Chris F.A. Johnson cfaj-uVmiyxGBW52XDw4h08c5KA at public.gmane.org
Tue Dec 12 23:10:39 UTC 2006


On Tue, 12 Dec 2006, Peter P. wrote:

> May I ask in what Bash version was the regexp matching introduced ?

    It was introduced in bash-3.0-alpha; I have never used it (or any
    form of [[...]]).

> I have 2.05 (don't laugh, it comes with stock Debian - including
> Knoppix). It has not got this feature.

    I always compile and install the latest bash; too many distros
    either have old versions and/or disable various features. The last
    time I tried a Debian default bash, my mail scripts stopped
    working: they had removed socket file descriptors. Mandrake
    disables the time built-in.

-- 
    Chris F.A. Johnson                      <http://cfaj.freeshell.org>
    ===================================================================
    Author:
    Shell Scripting Recipes: A Problem-Solution Approach (2005, Apress)
--
The Toronto Linux Users Group.      Meetings: http://gtalug.org/
TLUG requests: Linux topics, No HTML, wrap text below 80 columns
How to UNSUBSCRIBE: http://gtalug.org/wiki/Mailing_lists





More information about the Legacy mailing list