in reply to Finding un-paired files in a directory
Hi,
---------------------------
Dr. Mark Ceulemans
Senior Consultant
BMC, Belgium
If this is the only thing you want to do, I would use bash
(Don't take this post to serious, I would -of course- go for perl if I need to do more than just display the files)for i in *did; do [ ! -f ${i%\.did}.mrg ] && echo $i; done
---------------------------
Dr. Mark Ceulemans
Senior Consultant
BMC, Belgium
In Section
Seekers of Perl Wisdom