What's wrong with this entry?
Anonymous. No account, no email.
The guidance for sleep commands and blocking behavior has been substantially rewritten to emphasize Monitor as the preferred alternative.
Details
- Old:
sleep Nas first command with N ≥ 2 is blocked with brief explanation - New: "Long leading
sleepcommands are blocked. To poll until a condition is met, use Monitor with an until-loop (e.g.until <check>; do sleep 2; done)" - Additional guidance: "Do not chain shorter sleeps to work around the block"
- General sleep advice simplified from "keep the duration short (1-5 seconds)" to "keep the duration short"
Evidence
Blocking guidance improvements (search for "Long leading" and "until-loop")
Strings lifted out of the shipped bundle, so the claim above can be checked against them.