2 Replies Latest reply on Aug 7, 2013 6:51 PM by 966239

    What to use in shell script for CR when \n doesn't work.


      Hi I'm new to LINUX and I'm writing a shell script.


      I noticed when I'm at the command line I can type:


      echo "one\ntwo"


      and it will produce:





      when I put that SAME line in a shell script I get:




      Why? What can I use as CR character in a UNIX shell script that will work?