> pmatch would be good. I wonder if perhaps a case statement instead of
> an if [ ... ] would be better.
case construct and appropriate use of smart variable substitions like
${i##xxx} or ${i:-xxx} are faster than, the sequence of [ ... -o ... -a .. ]
Tohru Nishimura