Beefy Boxes and Bandwidth Generously Provided by pair Networks
good chemistry is complicated,
and a little bit messy -LW
 
PerlMonks  

Re: Finding un-paired files in a directory

by mce (Curate)
on Dec 03, 2003 at 12:49 UTC ( #311885=note: print w/ replies, xml ) Need Help??


in reply to Finding un-paired files in a directory

Hi,

If this is the only thing you want to do, I would use bash

for i in *did; do [ ! -f ${i%\.did}.mrg ] && echo $i; done
(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)
---------------------------
Dr. Mark Ceulemans
Senior Consultant
BMC, Belgium


Comment on Re: Finding un-paired files in a directory
Download Code

Log In?
Username:
Password:

What's my password?
Create A New User
Node Status?
node history
Node Type: note [id://311885]
help
Chatterbox?
and the web crawler heard nothing...

How do I use this? | Other CB clients
Other Users?
Others imbibing at the Monastery: (9)
As of 2014-09-01 13:54 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?

    My favorite cookbook is:










    Results (13 votes), past polls