Re: sleep as an ash builtin

2023-04-12 Thread Denys Vlasenko
Indeed. Fixed. On Mon, Apr 10, 2023 at 6:11 PM Ron Yorston wrote: > > Denys Vlasenko wrote: > >Fixed. Please try current git. > > Thanks, Denys. Works now. > > But... > >/* Without this, bare "sleep" in ash shows _ash_ --help */ >if (ENABLE_ASH_SLEEP && applet_name[0] != 's') { > b

Re: sleep as an ash builtin

2023-04-10 Thread Ron Yorston
Denys Vlasenko wrote: >Fixed. Please try current git. Thanks, Denys. Works now. But... /* Without this, bare "sleep" in ash shows _ash_ --help */ if (ENABLE_ASH_SLEEP && applet_name[0] != 's') { bb_simple_error_msg("sleep: missing operand"); return EXIT_FAILURE; } 'ash' ca

Re: sleep as an ash builtin

2023-04-10 Thread Denys Vlasenko
Thank you for the report. Fixed. Please try current git. On Mon, Apr 3, 2023 at 10:34 PM Ron Yorston wrote: > > Another thing about sleep as an ash builtin: > >$ trap 'echo yo' INT >$ echo $EPOCHSECONDS; sleep 10; echo $EPOCHSECONDS >1680553805 >

sleep as an ash builtin

2023-04-03 Thread Ron Yorston
Another thing about sleep as an ash builtin: $ trap 'echo yo' INT $ echo $EPOCHSECONDS; sleep 10; echo $EPOCHSECONDS 1680553805 ^C^C^C^C^Cyo 1680553815 $ No matter how urgently I press Ctrl-C the sleep runs its full co