martin f krafft wrote, Friday, May 16, 2008 7:59 AM
also sprach Adam D. Barratt <[EMAIL PROTECTED]> [2008.05.16.0052
+0100]:
Were you envisaging the options being mutually exclusive, or combinable?
(e.g. "dcmd --diff --orig scp foo.changes")
Combineable.
I had a feeling that might be your answer, and yet hoped it wouldn't be. ;-)
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).
Adam
--
To UNSUBSCRIBE, email to [EMAIL PROTECTED]
with a subject of "unsubscribe". Trouble? Contact [EMAIL PROTECTED]