ecmwf / ecflow

ECMWF's workflow manager
Apache License 2.0
39 stars 15 forks source link

% Conflict related issues #9

Closed 19950813 closed 2 years ago

19950813 commented 2 years ago

In the process of writing the'ecf' file, use the keyword% to retrieve the pre-defined variables. However, there are many functions in the shell syntax that also need to use %. Can the two methods coexist? How to do it

thanks

iainrussell commented 2 years ago

Hi,

Check out the docs: https://confluence.ecmwf.int/display/ECFLOW/ecFlow++variables - I think this answers your question: "if there are two %-characters together they are concatenated to form a single %-character in the job-file. For example, if you need to execute the UNIX date command "date +%d". For a job, you must enter it as "date +%%d" into the ecFlow file."

Cheers, Iain