[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[Condor-users] Complex syntax for arguments
- Date: Thu, 14 Feb 2008 17:29:28 +0000
- From: Craig Bruce <pcxcb1@xxxxxxxxxxxxxxxx>
- Subject: [Condor-users] Complex syntax for arguments
A program I use has a command-line version which can entail complex
arguments. When translating to my submission script it gives an error.
Actual command-line arguments: weka.classifiers.meta.Vote -t somefile.arff
-B "weka.classifiers.meta.AdaBoostM1 -S 4" -B
"weka.classifiers.functions.SMO -K "weka.classifiers.kernel""
I convert this to arguments = "weka.classifiers.meta.Vote -t somefile.arff
-B ""weka.classifiers.meta.AdaBoostM1 -S 4"" -B
""weka.classifiers.functions.SMO -K ""weka.classifiers.kernel"" "" "
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
2. White spaces are not allowed inside double quotes (adding single quote
marks makes no difference).
Is this a limitation? is there a workaround for these complex arguments, or
have I just completely misunderstood the man page?
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.