EC-Earth / cmor-metadata-fixer

CMOR metadata fixer for cmorised output of any model
Apache License 2.0
0 stars 1 forks source link

fix typo in shell script #1

Closed klauswyser closed 10 hours ago

treerink commented 21 hours ago

@klauswyser actually it is not a typo: see here for instance. Anyway, did you experience difficulties with it such that adjustment is needed?

klauswyser commented 10 hours ago

Thanks @treerink , you are right. Sorry, I didn't know that >& and &> are equivalent. Actually your form &> is better, here is from the bash mapage:

       There  are two formats for redirecting standard output and standard er‐
       ror:

              &>word
       and
              >&word

       Of the two forms, the first is preferred.

(The reason is that if word is a number the meaning of >& changes while &> always means redirect stderr to stdout.)

I retract this MR.