Alt Text

Show parent replies

The post below is a reply to another user


(it's actually not that ugly, i was exaggerating and then you called my bluff and now im embarrassed)
wait i don’t think i need the while loops here
okay so i tested it this morning and it was actually completely worthless and broken lmfao
fixed: x=$(xclip -sel clipboard -o) x=$(echo "$x" | tr -s '\n') x=$(echo "$x" | sed '/-$/N;s/-\n//') x=$(echo "$x" | tr '\n' ' ') x=$(echo "$x" | sed -e 's/^[ \t]*//' -e 's/[ \t]*$//') x=$(echo "$x" | tr -s ' ') echo -n "$x" | xclip -sel clipboard gemini trust broken, gpt is my new best friend
and since its just echo i can just not bother with a variable at all xclip -sel clipboard -o \ | tr -s '\n' \ | sed '/-$/N;s/-\n//' \ | tr '\n' ' ' \ | sed -e 's/^[ \t]*//' -e 's/[ \t]*$//' \ | tr -s ' ' \ | xclip -sel clipboard