glob works much like <STDN>, in that each time it is accessed, it returns the next value. When there are no additional filenames to be returned, the filename glob returns an empty string.
Since there is only one file to be found - it will default to an empty string the second time.In reply to Re: Glob Misbehavin'
by LD2
in thread Glob Misbehavin'
by Sprad
| For: | Use: | ||
| & | & | ||
| < | < | ||
| > | > | ||
| [ | [ | ||
| ] | ] |