Hello, ole,
 Thank you for your reply. I forgot the -p option. I really works. Problem 
solved!

Regards,
Xiaojing 

> On Mar 9, 2021, at 2:56 PM, Ole Holm Nielsen <ole.h.niel...@fysik.dtu.dk> 
> wrote:
> 
> On 3/9/21 5:06 AM, xiaojingh...@163.com wrote:
>> Hi, guys
>> I am doing a parsing job on slurm fields. Sometimes when one field is too 
>> long, slum will limit the length with a “+”. But I prefer to get the 
>> complete value of that field. Do you know how can I achieve that? I do not 
>> want to specify the length either coz it still cannot guarantee that you get 
>> the complete string.
> 
> You did not give examples of commands that you use.  For the sacct command, 
> for example, you get complete output with -p or -P:
> 
>   -p, --parsable
>                 output will be '|' delimited with a '|' at the end
>   -P, --parsable2
>                 output will be '|' delimited without a '|' at the end
> 
> /Ole



Reply via email to