[Toybox] bash continues to confuse me.
Chet Ramey
chet.ramey at case.edu
Sun Jun 21 11:44:21 PDT 2020
On 6/19/20 7:53 AM, Rob Landley wrote:
>
> Well, I SORT of know what it does:
>
> $ a='*'; xx() { echo "${!a at Q}";}; xx one two three
> 'one' 'two' 'three'
>
> Shouldn't that be 'one two three'?
I thought it more useful to take the behavior of constructs like ${@##...}
and #{@:..}, and others, than to jam the parameters together.
--
``The lyf so short, the craft so long to lerne.'' - Chaucer
``Ars longa, vita brevis'' - Hippocrates
Chet Ramey, UTech, CWRU chet at case.edu http://tiswww.cwru.edu/~chet/
More information about the Toybox
mailing list