I have noticed a strange seq
behavior on one of my computers (Ubuntu LTS 14.04): instead of using points as decimal separator it is using commas:
seq 0. 0.1 0.2
0,0
0,1
0,2
The same version of seq (8.21) on my other PC gives the normal points (also same Ubuntu version). The strangest thing is that I am observing the same ill behavior on a remote machine when I ssh into it from the first machine. Even a bash script submitted from the conflictive machine to a job scheduler (slurm) on the remote machine is having this problem. I am very confused. Why (and how!) is this happening?
LANG=en_US
fixes the issue on the problematic machine, butLANG=fr_FR
does not create it on the machine which is working fine. Even more odd, when Iecho $LANG
both machines giveen_US.UTF-8
as output. – Roadstead