I can't reproduce your results here. With both '#!/bin/ash' and
'#! /bin/ash' I get 'test/{foo,bar}' as a directory. I'll guess that
on your system, the space causes the #! to be ignored and the script
run by your current shell (presumably bash). Try changing your shell to
ash and rerunning the scripts.
--
+----------------------------------------------------+
| Eric G. Miller egm2@jps.net |
| GnuPG public key: http://www.jps.net/egm2/gpg.asc |
+----------------------------------------------------+