so..what is the command exactly
echo "$glob[1]"; and echo "foreachglob[1]"; also does work
i had some files call ac1017-1, ac1017-2, ac1017-3
at the first time i ran glob
the order is correct :
ac1017-1, ac1017-2, ac1017-3
but after i modify ac1017-2, the order change to
ac1017-2, ac1017-1, ac1017-3
does that mean glob sort by modify day ?