dpecka
public shellscript v1 · immutable" > /tmp/pastebin.sh.tmpxwhile IFS= read -r line; do echo "$line" >> /tmp/pastebin.sh.tmpx; PLINES=$(($PLINES 1));done## exit if only whitspaces are inputif test -z "$(sed '1d;/^$/d' /tmp/pastebin.sh.tmpx)"; then echo -e 'usage :: `foo | pastebin.sh [-f]`'; exit;fi## exit when input less then 5 lines and -f option omittedif [ $PLINES -lt "5" ] &