Source-Changes-D archive
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]
Re: CVS commit: src/bin/sleep
In article <15294.1548463878%jinx.noi.kre.to@localhost>,
Robert Elz <kre%munnari.OZ.AU@localhost> wrote:
> Date: Fri, 25 Jan 2019 21:45:46 +0700
> From: Robert Elz <kre%munnari.OZ.AU@localhost>
> Message-ID: <22498.1548427546%jinx.noi.kre.to@localhost>
>
Linux does not accept 1,1 on the command line.
christos
[8:17pm] 125>cat foo.c
#include <stdio.h>
#include <locale.h>
#include <string.h>
#include <errno.h>
int
main(void)
{
setlocale(LC_ALL, "");
printf("%g %s\n", 1.1, strerror(ENOENT));
return 0;
}
[8:17pm] 126>setenv LANG el_GR.UTF-8
[8:17pm] 127>./a.out
1,1 No such file or directory
[8:17pm] 128>sleep 1.1
[8:18pm] 129>sleep 1,1
sleep: invalid time interval â
Try 'sleep --help' for more information.
Exit 1
[8:18pm] 130>uname -a
Linux odroidc2 3.16.61-34 #1 SMP PREEMPT Fri Dec 21 13:51:02 -02 2018 aarch64 aarch64 aarch64 GNU/Linux
[8:18pm] 131>
christos
Home |
Main Index |
Thread Index |
Old Index