That works in bash too, and I'd use that too; but it's not as portable so I didn't write it here.
Compare Re: comparing arrays and Re: help with lists.
In reply to Re^3: Checking for new files
by ambrus
in thread Checking for new files
by New Novice
| For: | Use: | ||
| & | & | ||
| < | < | ||
| > | > | ||
| [ | [ | ||
| ] | ] |