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

Re: [Condor-users] condor_q -format



Another possibility is to parse xml output.
   condor_q -xml -format "%s" Cmd -format "%s\n" Args

>From man pages:
-xml
   Display  job  ads  in xml format. The xml format is fully defined at
   http://www.cs.wisc.edu/condor/classad/refman/.

Regards,
Lukas

On Thu, May 17, 2012 at 07:13:56AM -0400, Matthew Farrellee wrote:
> On 05/16/2012 10:35 PM, Rita wrote:
> >I am parsing the output for condor_q Args and I am trying to set a
> >delimiter of "," but it seems there is a comma in my arguments. Is it
> >possible to set a delimiter to a hidden character?
> >
> >How do people handle delimitation for arguments field?
> 
> You should be able to safely use tab (\t).
> 
> condor_q -format "%s\t" Cmd -format "%s\n" Args
> 
> Best,
> 
> 
> matt
> _______________________________________________
> 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/
>