Break out example and rename

This commit is contained in:
Peter Bourgon
2015-09-25 14:42:04 +02:00
parent 4e6968fe8f
commit 18a82bd528
7 changed files with 5 additions and 20 deletions
Executable
+15
View File
@@ -0,0 +1,15 @@
#!/bin/sh
handle() {
echo "got signal"
exit
}
trap handle SIGINT
while true
do
echo bar: `date`
sleep 1
done