bash remove line starting with character code example Example: bash remove newline from string echo "${string}"|tr '\n' ' '