clemmy/utils.sh
2023-01-17 01:07:40 +11:00

2 lines
105 B
Bash

#Utils
getbody(){ a=$(cat); while read n; do b="$b\n$n"; done <<< "$a"; c=${b//\"/\\\"}; body="${c:2}"; }