MOTD

Message Of The Day

Mon, 26 Apr 2004

19:16 [zork(~/sam/admin-spotting)] cat slothly.txt

Slow Down There Buddy

This chunk of code allows you to add a little artificial slow down to your bash scripts. Add it to the top of the shell script and watch ... everything ... pass ... by ... real ... slow.

Especially useful with set -x.

sleep_some () { sleep 1; }
trap sleep_some DEBUG

[zork(~)] cal
[zork(~)] tree
[zork(~)] syndicate.py
[zork(~)] cat README