7 Jun
2010
7 Jun
'10
11:08
Jon Clausen wrote:
Looking only at:
array=( $path/$glob ) vs. array=( $(ls $path/$glob) )
- where the resulting arrays should be more or less identical
not at all: the former does no shell word splitting on white space, the latter does. And if $path or $glob contain white space, your 2nd command won't work at all. Joachim -- =-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=- Joachim Schrod Email: jschrod@acm.org Roedermark, Germany -- To unsubscribe, e-mail: opensuse+unsubscribe@opensuse.org For additional commands, e-mail: opensuse+help@opensuse.org