[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: |
clemens fischer |
Subject: |
Re: RFE: allow double quotes to group multi-words & be treated as?1?arg, w/DQ's stripped off -- including RH =~ |
Date: |
Wed, 08 Dec 2010 15:50:16 -0000 |
User-agent: |
tin/1.9.6-20100313 ("Lochruan") (UNIX) (Linux/2.6.34.2-spott (i686)) |
Greg Wooledge wrote:
> In this particular case, I would use a glob rather than an ERE,
> because "h?" is much simpler than "^h.$".
Besides, bash's extended globs provide everything ERE's provide. I use
the idiom:
shopt -s extglob
# for example, to check for numbers
case "-${something}" in -+([[:digit:]])) echo "number";; esac
all the time.
clemens
[Prev in Thread] |
Current Thread |
[Next in Thread] |
- Re: RFE: allow double quotes to group multi-words & be treated as?1?arg, w/DQ's stripped off -- including RH =~,
clemens fischer <=