|
From: | Magnus Göransson |
Subject: | [Bug-datamash] Control the decimal separator |
Date: | Mon, 16 Oct 2017 16:21:39 +0200 |
User-agent: | Roundcube Webmail/1.2-rc |
Hello,I used LC_NUMERIC environment variable to control decimal separator, for example:
export LC_NUMERIC=sv_SE.UTF-8In my bash-script solved the problem that my decimals (",") was incorrectly interpreted when the script was running from crontab where the environment is very limited. The error from datamash was "invalid numeric value in line" due to the wrong interpretation.
/Best regards Magnus Göransson
[Prev in Thread] | Current Thread | [Next in Thread] |