[Top][All Lists]

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: Problem with "." and ","

From: Igor Fontana
Subject: Re: Problem with "." and ","
Date: Fri, 15 Mar 2019 14:15:41 +0000

El vie., 15 de mar. de 2019 a la(s) 13:50, Michal (address@hidden) escribió:
> Hi,
> I terrible sorry if I'm wasting you time, but probably I found a bug. In
> example like this:
>  find /home/certget/ssl/example.pem -mtime -0,1
> This will work on server with locales changed to "pl_PL.UTF-8" and on
> servers with "en_US.UTF-8" I need to use "-mtime -0.1". It's very
> irritating when I need to check if this same script works on every server.
> Is it possible to unify this and use for example always ".".
> - Best Regards - Michal Dzwoniarski

This looks like a pretty important feature, not a bug. Take a look at
`man strtof`.

You can `export LANG=C` or call `LANG=C find ...` on your scripts to get
consistent behavior.


miau =o3

reply via email to

[Prev in Thread] Current Thread [Next in Thread]