On Fri, 2008-05-16 at 16:02 +0100, Adam D. Barratt wrote: > I've got an updated script that makes "dcmd --diff --orig scp foo.changes" > work, but it only errors if the expansion produced no files /of any type/; > unfortunately if there is a diff but not an orig, it doesn't currently > complain. I'm still thinking as to whether there's an elegant way of > checking each type individually that doesn't involve silly amounts of > repitition in the code (particularly given that dcmd is shell).
Hmmm, I hadn't realised it had been so long since I originally looked at this bug. My original attempt at fixing it largely got thrown away as it involved doing horrible amounts of regex processing. I've now replaced it with a nicer version which also implements --no-diff and friends. Over the nearly six month period in between the two hacks on dcmd, I'd entirely forgotten your original request to raise an error if the files were not found - is that something you're still interested in? If so, I'll add it to the script (although most likely as an option as I've been finding it quite useful during testing to be able to say "select whatever subset of these files is listed"). Regards, Adam -- To UNSUBSCRIBE, email to [EMAIL PROTECTED] with a subject of "unsubscribe". Trouble? Contact [EMAIL PROTECTED]