Source-Changes-D archive

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

Re: CVS commit: src/bin/sleep



    Date:        Mon, 28 Jan 2019 14:16:46 +0100
    From:        Kamil Rytarowski <n54%gmx.com@localhost>
    Message-ID:  <4a07da07-6306-4c08-0fb4-99c72a6351eb%gmx.com@localhost>


  | I treat shell programming as a kind of a programming language.

As you should, but not "kind of", it is.    It is a somewhat specialised
one, as are many others, but that's OK.

  | I never expect a programming language environment or
  | language to treat parsed language accordingly to locales and mistreat
  | radix characters, quotes, brackets, numbers etc.

I would not put it quite like that.  What I would agree with is that it
has to be possible to write the program (sh script) in a standard form,
and when written like that, any valid program should do what it it
was written to do.

That is exactly what the recent change made happen for sleep.

  | And I always set all the locale options to my local one.

Fine, now you can use sleep with fractional seconds, and it should
work, when you write it usng '.', which it would not have before.
If you happen to use a ',' it will work too, but you certainly should
not put that in a script if you want it to be portable.

What is the problem here?

What issue are you actually experiencing that is not going to work
now?

kre



Home | Main Index | Thread Index | Old Index