shell script to wait for ctrl+c on exit
authorDobrica Pavlinusic <dpavlin@rot13.org>
Mon, 10 Aug 2009 12:31:38 +0000 (12:31 +0000)
committerDobrica Pavlinusic <dpavlin@rot13.org>
Mon, 10 Aug 2009 12:31:38 +0000 (12:31 +0000)
bin/beep.sh [new file with mode: 0755]

diff --git a/bin/beep.sh b/bin/beep.sh
new file mode 100755 (executable)
index 0000000..4ef4ec8
--- /dev/null
@@ -0,0 +1,7 @@
+#!/bin/sh
+
+echo "*** press ctrl+c to close ***"
+while true ; do
+       echo -n \a
+       sleep 1
+done