diff options
Diffstat (limited to 'example/handler/hello')
-rwxr-xr-x | example/handler/hello | 11 |
1 files changed, 11 insertions, 0 deletions
diff --git a/example/handler/hello b/example/handler/hello new file mode 100755 index 0000000..68ee5a4 --- /dev/null +++ b/example/handler/hello @@ -0,0 +1,11 @@ +#!/bin/sh + +# call me with broadcaster $bcat-ip hello world + +LOGFILE="./hello.log" + +( echo -n "Someone called 'hello " + cat + echo "'!" +) >> "$LOGFILE" + |