SyntaxFix
Write A Post
Hire A Developer
Questions
yet another solution uses tr:
tr
echo $testVar | tr -d '\r' cat myscript | tr -d '\r'
the option -d stands for delete.
-d
delete