Today I learned: printf(1)
is locale-dependent.
$ printf %f 0.1
-bash: printf: 0.1: invalid number
$ printf %f 0,1
0,1
$ LANG=C;printf %f 0.1
0.1
Why, oh fucking why?
every machine is a smoke machine if you use it wrong enough
Today I learned: printf(1)
is locale-dependent.
$ printf %f 0.1
-bash: printf: 0.1: invalid number
$ printf %f 0,1
0,1
$ LANG=C;printf %f 0.1
0.1
Why, oh fucking why?
Leave a Reply