Michael,could you give this a try and let me know if it works for you. I'm not saying 'read the man page', because I'm not sure how this is (or is going to be) done on Windows. All right?
I have taken the liberty to add a new '-pal eco' which I promised to submit almost a year ago.
There is also a new -cp (posterise) option that has been in HEAD for a while. Just needs mentioning on the man page.
@Greg,please give us your opinion on the current implementation. I'm touching up the man page now. It needs the -cp option, and also the sponsor of the -pal eco option. Will report back....
Cheers Axel On 03/22/2013 09:47 PM, Guglielmetti, Robert wrote:
On 3/22/13 3:14 PM, "Axel Jacobs" <[email protected]> wrote:This is fixable, and I'd be happy to do this. To my excuse, however, I must say that the arg parser in any of the csh scripts in Radiance, and probably in many of the Perl scripts, too, is not terribly sophisticated. It does its job, but not all possible errors are caught.Agreed, I will say that Ruby has a nice class for this stuff, but in the end it's probably not much more robust than whatever Perl's got going on.Existing Perl parsers are good with -s or --short-option style things. When you throw -a+ vs -a- at them, they just give up. Making this work properly is a helluva job. So should -spec be treated as -pal spec (probably not), or should it throw up a more meaningful error message e.g. 'deprecated'?I vote a deprecated error, along with a pointer to the newer -pal option & syntax. Thanks Axel! - Rob _______________________________________________ Radiance-dev mailing list [email protected] http://www.radiance-online.org/mailman/listinfo/radiance-dev
falsecolor-aj-20130322.pl
Description: Perl program
_______________________________________________ Radiance-dev mailing list [email protected] http://www.radiance-online.org/mailman/listinfo/radiance-dev
