From 4fa28842044d48626b51c94a67ccf623d9a9383f Mon Sep 17 00:00:00 2001 From: Minteck Date: Sun, 14 Nov 2021 19:09:34 +0000 Subject: Commit --- bashweb.sh | 28 ++++++---------------------- 1 file changed, 6 insertions(+), 22 deletions(-) (limited to 'bashweb.sh') diff --git a/bashweb.sh b/bashweb.sh index aa2d1d0..2d572c6 100755 --- a/bashweb.sh +++ b/bashweb.sh @@ -6,32 +6,16 @@ ## ## ########################################################## -data=$(cat index.bhtml | envsubst) +export bashweb_version="0.1.1" main () { -# netcat -q 0 -l 1234 < /tmp/backpipe + nc -l -p 1234 < /tmp/backpipe | ./preprocessor/main.sh 1> /tmp/backpipe } +rm -f /tmp/backpipe +mkfifo /tmp/backpipe + while true do - main &>log + main &>>log done - -- cgit