[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Add sleep builtin
From: |
konsolebox |
Subject: |
Add sleep builtin |
Date: |
Sun, 19 Aug 2018 22:25:18 +0800 |
Hi Chet,
The sleep command is often used in loops and using the external sleep
is expensive. Perhaps we can add the sleep builtin but have it
disabled by default to avoid syntax conflict with the external one.
Users who would want the builtin version can simply run:
[[ BASH_VERSINFO -ge 5 ]] && enable sleep
I have patch attached as file, and also uploaded in
https://github.com/konsolebox/bash/tree/builtin_sleep.
--
konsolebox
builtin_sleep.diff
Description: Text Data
- Add sleep builtin,
konsolebox <=
- Re: Add sleep builtin, Clint Hepner, 2018/08/19
- Re: Add sleep builtin, konsolebox, 2018/08/19
- Re: Add sleep builtin, L A Walsh, 2018/08/21
- Re: Add sleep builtin, Bob Proulx, 2018/08/25
- Re: Add sleep builtin, L A Walsh, 2018/08/27
- Re: Add sleep builtin, Robert Elz, 2018/08/27