[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: RFE: allow double quotes to group multi-words & be treated as 1 arg,
From: |
Marc Herbert |
Subject: |
Re: RFE: allow double quotes to group multi-words & be treated as 1 arg, w/DQ's stripped off -- including RH =~ |
Date: |
Wed, 04 Aug 2010 11:50:21 +0100 |
User-agent: |
Mozilla/5.0 (X11; U; Linux x86_64; en-US; rv:1.9.2.7) Gecko/20100720 Fedora/3.1.1-1.fc13 Thunderbird/3.1.1 |
Le 04/08/2010 09:27, Davide Brini a écrit :
> From the Changelog:
>
> This document details the changes between this version, bash-3.2-alpha,
> and the previous version, bash-3.1-release.
> ...
> 3. New Features in Bash
> ...
> f. Quoting the string argument to the [[ command's =~ operator now forces
> string matching, as with the other pattern-matching operators.
Yet on 3.2.39 (Fedora 10) the old "quoted regex" behaviour was still there:
echo $BASH_VERSION
shopt compat31
w="/home/law/bin/package: line 5: type: xx: not found"
[[ $w =~ ".*not found.*" ]] && echo match
3.2.39(1)-release
compat31 off
match
- Re: RFE: allow double quotes to group multi-words & be treated as 1 arg, w/DQ's stripped off -- including RH =~, (continued)
- Re: RFE: allow double quotes to group multi-words & be treated as 1 arg, w/DQ's stripped off -- including RH =~, Davide Brini, 2010/08/04
- Re: RFE: allow double quotes to group multi-words & be treated as 1 arg, w/DQ's stripped off -- including RH =~, Linda Walsh, 2010/08/04
- Re: RFE: allow double quotes to group multi-words & be treated as 1 arg, w/DQ's stripped off -- including RH =~, Andreas Schwab, 2010/08/04
- Re: RFE: allow double quotes to group multi-words & be treated as 1 arg, w/DQ's stripped off -- including RH =~, Greg Wooledge, 2010/08/04
- Re: RFE: allow double quotes to group multi-words & be treated as 1 arg, w/DQ's stripped off -- including RH =~, Chet Ramey, 2010/08/05
- Re: RFE: allow double quotes to group multi-words & be treated as 1 arg, w/DQ's stripped off -- including RH =~, Linda Walsh, 2010/08/05
- Re: RFE: allow double quotes to group multi-words & be treated as 1 arg, w/DQ's stripped off -- including RH =~, Andreas Schwab, 2010/08/05
- Re: RFE: allow double quotes to group multi-words & be treated as 1 arg, w/DQ's stripped off -- including RH =~, Chet Ramey, 2010/08/05
- Message not available
- Re: RFE: allow double quotes to group multi-words & be treated as?1?arg, w/DQ's stripped off -- including RH =~, clemens fischer, 2010/08/06
- Message not available
- Message not available
- Re: RFE: allow double quotes to group multi-words & be treated?as?1?arg, w/DQ's stripped off -- including RH =~, clemens fischer, 2010/08/09
- Re: RFE: allow double quotes to group multi-words & be treated as 1 arg, w/DQ's stripped off -- including RH =~,
Marc Herbert <=