summaryrefslogtreecommitdiff
path: root/rc/bin
diff options
context:
space:
mode:
Diffstat (limited to 'rc/bin')
-rwxr-xr-xrc/bin/ok8
1 files changed, 8 insertions, 0 deletions
diff --git a/rc/bin/ok b/rc/bin/ok
new file mode 100755
index 000000000..c12835cc6
--- /dev/null
+++ b/rc/bin/ok
@@ -0,0 +1,8 @@
+#!/bin/rc
+if(~ $#* 0)
+ file=/fd/0
+if not
+ file=$1
+hpost -u http://okturing.com -p / a_body@$file submit:submit fake:fake a_func:add_post url: |
+grep -e '\/body\"' |
+sed 1q | sed 's/^.*href=\"//g; s/body\".*$/body/g; s/^/http:\/\/okturing.com/g'