Mailing List Archives
Authenticated access
|
|
|
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: [Condor-users] Printing $Cluster and $Process in jobmanager script
- Date: Thu, 11 Jan 2007 15:08:12 -0600
- From: Alain Roy <roy@xxxxxxxxxxx>
- Subject: Re: [Condor-users] Printing $Cluster and $Process in jobmanager script
At 02:41 PM 1/11/2007 -0600, Neha Sharma wrote:
The code is:
print JDL_FILE "#Forward-JobID = 'cluster: $(cluster)'
'process: $(process)'\n";
$( is a special Perl variable. Gotta love Perl.
The easiest change is:
print JDL_FILE "#Forward-JobID = 'cluster: \$(cluster)' 'process:
\$(process)'\n";
(All on one line.)
That is, I put backslashes before the dollar signs.
I suspect that you don't really want the single quotes printed, but
I'll leave that up to you.
-alain