title: How can I remove the "Enter character"(ascii=13) in the given string using this linux shell command?
body: <p>I want to use this linux shell command to remove the "Enter character"(ascii=13):
  ${variable//pattern/string}</p>
  
  <p>My script is : 
  ${var//\n/}. It doesn't work.
  So I change to ${var//\r/} and it doesn't work too.</p>
  
  <p>So how should I write this script?</p>
  
  <p>Thanks in advance.</p>