Groups | Search | Server Info | Keyboard shortcuts | Login | Register [http] [https] [nntp] [nntps]


Groups > gnu.bash.bug > #14517

Re: Add sleep builtin

From Ilkka Virta <itvirta@iki.fi>
Newsgroups gnu.bash.bug
Subject Re: Add sleep builtin
Date 2018-08-21 11:22 +0300
Message-ID <mailman.5356.1534839749.1292.bug-bash@gnu.org> (permalink)
References <CAJnmqwZ1GUZRtGRHt8xy_-tdTjVsAQKt-toGAEn5e9gjFrR0vQ@mail.gmail.com> <2801c537-6f5e-a727-49ab-7fb1bc8c32f8@case.edu>

Show all headers | View raw


On 21.8. 02:35, Chet Ramey wrote:
> I don't think there's a problem with a `syntax conflict' as long as any
> builtin sleep accepts a superset of the POSIX options for sleep(1).

The sleep in GNU coreutils accepts suffixes indicating minutes, hours
and days (e.g.  sleep 1.5m  or  sleep 1m 30s  for 90 seconds). I didn't
see support for those in konsolebox's patch, so while that's not
conflicting syntax per se, the lack of that option might trip someone.


-- 
Ilkka Virta / itvirta@iki.fi

Back to gnu.bash.bug | Previous | Next | Find similar | Unroll thread


Thread

Re: Add sleep builtin Ilkka Virta <itvirta@iki.fi> - 2018-08-21 11:22 +0300

csiph-web