Skip to content

translation checks error on bash #4764

@mattdowle

Description

@mattdowle

Hi @MichaelChirico,
I'm running CRAN_Release.cmd and I get the following error :

~/GitHub/data.table$ for MSG in error warning DTWARN DTPRINT Rprintf STOP Error;
>   do for SRC_FILE in src/*.c;
>     # no inplace -i in default mac sed
>     do sed -E "s/$MSG[(]("[^"]*")/$MSG(_(\1)/g" $SRC_FILE > out;
bash: syntax error near unexpected token `)'
~/GitHub/data.table$

Any ideas? Probably some difference between Mac and Linux bash?
Thanks.

Metadata

Metadata

Assignees

No one assigned

    Labels

    translationissues/PRs related to message translation projects

    Type

    No type

    Projects

    No projects

    Milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions