[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: [Condor-users] Complex syntax for arguments



Hi John, 

Thanks for the powerpoint and extensive email! With a bit of trial and error
I've managed to find the right syntax:

arguments = "weka.classifiers.meta.Vote -t somefile.arff
-B 'weka.classifiers.meta.AdaBoostM1 -S 4' -B
'weka.classifiers.functions.SMO -K ""weka.classifiers.kernel""' "

-B ""weka.."" is ok if there are no whitespaces, if there are use
single-quote.

This isn't my choice of syntax, but that of a data mining program, weka.

Many thanks
Craig

On 15/2/08 19:50, "Kewley, J (John)" <j.kewley@xxxxxxxx> wrote:

> [other longer email has more detail, but these points might
> clear any misunderstanding]
> 
>> It seems there are two problems when I convert to using double quotes.
>> 1. You can not nest double quotes. (I tried triple/quadruple
>> double quotes too)
> 
> double double quotes are what is required
> 
>> 2. White spaces are not allowed inside double quotes (adding
>> single quote marks makes no difference).
> 
> they are allowed, but they don't "group" args as you may require if
> passing 
> into a script.
>  
> In another email you said:
> 
>> ... ' "" "" ' and "" '' "", neither work.
> 
> the second of these should probably be
> "''''"
> 
> since singles must be doubled inside single quotes, according to the
> manual
> 
> JK
> 
> _______________________________________________
> Condor-users mailing list
> To unsubscribe, send a message to condor-users-request@xxxxxxxxxxx with a
> subject: Unsubscribe
> You can also unsubscribe by visiting
> https://lists.cs.wisc.edu/mailman/listinfo/condor-users
> 
> The archives can be found at:
> https://lists.cs.wisc.edu/archive/condor-users/


This message has been checked for viruses but the contents of an attachment
may still contain software viruses, which could damage your computer system:
you are advised to perform your own checks. Email communications with the
University of Nottingham may be monitored as permitted by UK legislation.