diff options
author | Jannis Hoffmann <jannis@fehcom.de> | 2024-07-15 15:49:29 +0200 |
---|---|---|
committer | Jannis Hoffmann <jannis@fehcom.de> | 2024-07-15 15:49:29 +0200 |
commit | c46339470309c24b142e1f66bece51db60bde64f (patch) | |
tree | ba1d65b123cb4f686ce045810912fb9957f8ff5d | |
parent | 5e84d7b76ce1cccdaf0900d62a94d0d1d88cdd62 (diff) |
move shell scripts into the script directorymeson
This corrects a build system issue as the associated build file was
already in the script directory.
-rw-r--r-- | script/https@.sh (renamed from src/https@.sh) | 5 | ||||
-rw-r--r-- | script/sslcat.sh (renamed from src/sslcat.sh) | 1 | ||||
-rw-r--r-- | script/sslconnect.sh (renamed from src/sslconnect.sh) | 1 |
3 files changed, 5 insertions, 2 deletions
diff --git a/src/https@.sh b/script/https@.sh index 6a902b7..896cc7f 100644 --- a/src/https@.sh +++ b/script/https@.sh @@ -1,3 +1,4 @@ +#!/bin/sh host=${1-0} path=${2-} port=${3-443} @@ -9,7 +10,7 @@ then fi echo "GET /${path} HTTP/1.1 Host: $host:$port -" | HOME/bin/sslclient -XRHl0 $args -- "$host" "$port" sh -c ' +" | sslclient -XRHl0 $args -- "$host" "$port" sh -c ' addcr >&7 - exec HOME/bin/delcr <&6 + exec delcr <&6 ' | awk '/^$/ { body=1; next } { if (body) print }' diff --git a/src/sslcat.sh b/script/sslcat.sh index f923935..716c6ab 100644 --- a/src/sslcat.sh +++ b/script/sslcat.sh @@ -1,3 +1,4 @@ +#!/bin/sh host=${1-0} port=${2-443} args="" diff --git a/src/sslconnect.sh b/script/sslconnect.sh index 3462540..a28aef6 100644 --- a/src/sslconnect.sh +++ b/script/sslconnect.sh @@ -1,3 +1,4 @@ +#!/bin/sh host=${1-0} port=${2-465} args="" |