top | item 20625627

(no title)

primitur | 6 years ago

    while sleep 900 ; do .. done
true not required. sleep is true unless interrupted.

discuss

order

vortico|6 years ago

Nice trick, that solves the problem of hitting Ctrl-C and the script sometimes looping again.

roddux|6 years ago

Never thought about this shortening before. Nice tip!

Makes me wonder about code golf for shell scripts. Now there's a rabbit hole...