summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rwxr-xr-xexamples/rot13.sh3
-rwxr-xr-xexamples/rotbot4
2 files changed, 7 insertions, 0 deletions
diff --git a/examples/rot13.sh b/examples/rot13.sh
new file mode 100755
index 0000000..33233cf
--- /dev/null
+++ b/examples/rot13.sh
@@ -0,0 +1,3 @@
+#!/bin/sh
+grep --line-buffered ^_ \
+ | stdbuf -oL tr 'a-z' 'n-za-m'
diff --git a/examples/rotbot b/examples/rotbot
new file mode 100755
index 0000000..f479a4e
--- /dev/null
+++ b/examples/rotbot
@@ -0,0 +1,4 @@
+#!/bin/sh
+export LD_LIBRARY_PATH=.
+exec socat ssl:main.lv:6697,verify=0 \
+'exec:ircify rotbot #default '`pwd`'/rot13.sh'