summaryrefslogtreecommitdiff
path: root/examples/rot13.sh
diff options
context:
space:
mode:
authorepoch <epoch@hack.thebackupbox.net>2019-05-26 01:05:09 +0000
committerepoch <epoch@hack.thebackupbox.net>2019-05-26 01:05:09 +0000
commitfff6473e8d30977b5ff1602623aa8b8fce7a6ebc (patch)
treef444172e22e96928a6083f5cba8c379ddbd47505 /examples/rot13.sh
parent4dedc3360e27b06393fc3ff326aa1d09b60ace0b (diff)
downloadlibidc-fff6473e8d30977b5ff1602623aa8b8fce7a6ebc.tar.gz
libidc-fff6473e8d30977b5ff1602623aa8b8fce7a6ebc.zip
added example usage of ircify as a rot13 bot
Diffstat (limited to 'examples/rot13.sh')
-rwxr-xr-xexamples/rot13.sh3
1 files changed, 3 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'