Remove line breaks:
sed ':a;N;$!ba;s/\n/ /g'
Escape double quotes:
sed 's/"/\\"/g'
We can't find the internet
Attempting to reconnect
Something went wrong!
Attempting to reconnect
Remove line breaks:
sed ':a;N;$!ba;s/\n/ /g'
Escape double quotes:
sed 's/"/\\"/g'