DownloadsDownloadBash Parameter ExpansionFernando BassoRemove newline¶Similar to tr -d '\n, we can also do in pure bash:"${var//[$'\t\r\n']}"