script: ⎗ ✓ 1 2 3 4 5 6function wsconn(){ screen -L -Logfile wsc.out -S wsc wscat -c $1 } function wsc(){ screen -S wsc -X stuff "$(echo $1 | perl -pe s/<QID>/$1/)\n" && tail -f wsc.out | sed "/q$qid/ q" | ansi2txt | grep -oP "\[.*q$qid.*\]" }
Warning LINK You are about to visit a link which has been flagged with the above content warnings. Do you wish to continue? Continue Cancel