On Mon, Mar 26, 2012 at 09:50:22PM -0600, Bill Gradwohl wrote:
> Why does pattern substitution not work on * ?
Eh? It does work on *.
imadev:~$ set -- o1ne tw2o three f4our
imadev:~$ echo "${*//[0-9]/}"
one two three four
In your example, you had a bunch of empty strings, and you asked bash
to perform a substitution on all the spaces in them, but there were
no spaces.