about summary refs log tree commit diff
path: root/qr
diff options
context:
space:
mode:
Diffstat (limited to 'qr')
-rwxr-xr-xqr7
1 files changed, 7 insertions, 0 deletions
diff --git a/qr b/qr
new file mode 100755
index 0000000..eeda047
--- /dev/null
+++ b/qr
@@ -0,0 +1,7 @@
+#!/bin/sh
+
+if [ "${#}" -eq 0 ]; then
+    read -r i && set "${i}"
+fi
+
+echo "${@}" | curl --form "f:1=<-" "qrenco.de"

Consider giving Nix/NixOS a try! <3