Remove unneeded command substitution
This commit is contained in:
parent
6da8accf45
commit
9c242a93d1
12
karahti
12
karahti
|
@ -42,12 +42,8 @@ while (( $# )); do
|
||||||
shift
|
shift
|
||||||
done
|
done
|
||||||
|
|
||||||
tail -n +1 -- "$@" | {
|
tail -n +1 -- "$@" | curl -sSA karahti/1.0 -w "%{redirect_url}" \
|
||||||
paste=$(
|
-F "paste_content=<-" -F "language=${opts[lang]:-auto}" \
|
||||||
curl -sSA karahti/1.0 -w "%{redirect_url}" -F "paste_content=<-" \
|
-F "expiry=${opts[expire]}" https://p.ahti.space/nanopaste-get.cgi
|
||||||
-F "language=${opts[lang]:-auto}" -F "expiry=${opts[expire]}" \
|
|
||||||
https://p.ahti.space/nanopaste-get.cgi
|
|
||||||
)
|
|
||||||
|
|
||||||
printf "%s\n" "$paste"
|
printf "\n"
|
||||||
}
|
|
||||||
|
|
Loading…
Reference in New Issue