in reply to
Re^4: Looking up elements of an array in another array!
in thread Looking up elements of an array in another array!
The files, I am looking for, however do exist in the directory. So they should be found.
To start with Kenosis' script should work. I tried it, using your description of the problem you posted and I have outputs, though similar filenames which were not included in the "indexDS.txt" were also printed.
Secondly, how are you using the script, maybe you have some other code over-writing the variable "@result"
Hope this helps.
If you tell me, I'll forget.
If you show me, I'll remember.
if you involve me, I'll understand.
--- Author unknown to me