[Top][All Lists]

[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


Attachment: builtin_sleep.diff
Description: Text Data

reply via email to

[Prev in Thread] Current Thread [Next in Thread]