(Please break your lines at 72c.)

Dominik George dixit:

>I think the introduction of a new variable used by the shell would be
>cool for advanced scripting. I'd name it $~ or $GLOB, and the idea is
>that, everytime the shell expands a shell glob, this variable is set
>to the expanded result of the last glob meta character.

I was planning to have "${&[@]}" contain the last full match at index 0
and all group matches at subsequent indicēs – I think if $& is never
used, only ever ${&} and the array syntax, that we will never conflict
with POSIX sh syntax, unlike GNU bash’s “&>” redirection operator which
causes no few amount of trouble.

Eventually. Feedback’s welcome as usual.

bye,
//mirabilos
-- 
I’d insert a witty Natureshadow signature from IRL happenings
this Thundersday, but I’ve forgotten the exact quotes. Probably
to his delight.

Reply via email to