Skip to content

Strip CRLF From Command Output

Useful on Windows/WSL where trailing \r\n breaks downstream parsing.

curl ipinfo.io/ip | tr -d "\n\r"