Hacker News
new
|
past
|
comments
|
ask
|
show
|
jobs
|
submit
login
js2
4 months ago
|
parent
|
context
|
favorite
| on:
TIL: timeout in Bash scripts
Retry is also a nice little utility that makes the retry loop easier:
https://github.com/minfrin/retry
exo762
4 months ago
[–]
I have this in my .bashrc:
function retry { until $@; do :; done alert } export -f retry
Works reasonably well for non-scripting usecases.
Consider applying for YC's Winter 2026 batch! Applications are open till Nov 10
Guidelines
|
FAQ
|
Lists
|
API
|
Security
|
Legal
|
Apply to YC
|
Contact
Search:
https://github.com/minfrin/retry