-BEGIN PGP SIGNED MESSAGE-
Hash: SHA1
On 3/26/12 6:32 AM, Dan Douglas wrote:
> Hi, hopefully a self-explanatory one today:
>
> ~ $ ( set -x -- {a..c}; echo "${*-"{1..3}"}" )
> + echo 'a b c' 'a b c' 'a b c'
> a b c a b c a b c
>
> ~ $ ( set -x -- {a..c}; echo "${*/"{1..3}
On Monday, March 26, 2012 08:07:00 AM you wrote:
> On 03/26/2012 07:56 AM, Dan Douglas wrote:
> > Don't know how much I'm allowed to quote here, but a quick read of the
> > POSIX parsing rules and parameter expansion sections suggest to me that
> > the start of the parameter expansion should be th
On 03/26/2012 07:56 AM, Dan Douglas wrote:
> Don't know how much I'm allowed to quote here, but a quick read of the POSIX
> parsing rules and parameter expansion sections suggest to me that the start
> of the parameter expansion should be the most important factor, and that
> nested quotes and
On Monday, March 26, 2012 01:44:58 PM you wrote:
> Dan Douglas writes:
> > Hi, hopefully a self-explanatory one today:
> > ~ $ ( set -x -- {a..c}; echo "${*-"{1..3}"}" )
> > + echo 'a b c' 'a b c' 'a b c'
> > a b c a b c a b c
> >
> > ~ $ ( set -x -- {a..c}; echo "${*/"{1..3}"
Dan Douglas writes:
> Hi, hopefully a self-explanatory one today:
>
> ~ $ ( set -x -- {a..c}; echo "${*-"{1..3}"}" )
> + echo 'a b c' 'a b c' 'a b c'
> a b c a b c a b c
>
> ~ $ ( set -x -- {a..c}; echo "${*/"{1..3}"/$*}" )
> + echo 'a b c' 'a b c' 'a b c'
> a b c a b c a