Mailing List Archives
Authenticated access
|
|
|
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[HTCondor-users] Single quotes in DAG 'VARS'
- Date: Fri, 18 Jan 2013 10:28:24 +0000
- From: Brian Candler <B.Candler@xxxxxxxxx>
- Subject: [HTCondor-users] Single quotes in DAG 'VARS'
http://research.cs.wisc.edu/htcondor/manual/current/2_10DAGMan_Applications.html#SECTION003107200000000000000
says: "Unfortunately, it is not possible to have single quote marks within
these values."
Can someone explain why this restriction is in place? I would like to do
generic passing of arguments and environment from the DAG file:
VARS J3 arguments="\"'foo' 'ba r' 'baz'\""
VARS J3 environment="\"PATH='/usr/bin/foo' FOO='bar baz'\""
But dagman rejects this:
01/18/13 10:10:35 test.dag (line 10): single quotes are not allowed in values.
and if I try changing ' to \' then I get:
01/18/13 10:11:17 test.dag (line 10): Unknown escape sequence "\'"
There doesn't seem to be any generic issue with macros containing single or
double quotes. For example, if I write directly into the submit file:
foo = "'foo' 'ba r' 'baz'"
Arguments = $(foo)
then this is processed correctly. It's just I can't define this macro using
VARS in a DAG.
Regards,
Brian.