From 323da3f815a8a97c48e7f7c2cd6c49a3a7c60070 Mon Sep 17 00:00:00 2001 From: tv Date: Sat, 13 Aug 2011 15:40:17 +0200 Subject: cholerab knut cnot: add command line client --- cholerab/knut/clients/cnot/index | 14 ++++++++++++++ 1 file changed, 14 insertions(+) create mode 100755 cholerab/knut/clients/cnot/index (limited to 'cholerab/knut/clients/cnot/index') diff --git a/cholerab/knut/clients/cnot/index b/cholerab/knut/clients/cnot/index new file mode 100755 index 00000000..a9e4972d --- /dev/null +++ b/cholerab/knut/clients/cnot/index @@ -0,0 +1,14 @@ +#! /bin/sh +# +# +# +set -euf + +host="$1"; shift +port=42101 + +params="$*" + +exec curl -vsS -X PUT --data-binary @- "http://$host:$port" <