I'm very new to UNIX and I'm currently trying to learn Bash.I have 3 scripts: xyz.sh, abc.sh & wow.sh. I want to copy content of xyz.sh as it is to wow.sh using abc.sh, i.e., a script to copy one script to another.xyz.sh:echo \n code $code \nabc.sh:while read linedo   echo $line >> wow.shdone < xyz.shOn executing abc.sh, the contents of wow.sh areecho n code $code n\n gets converted to n, can someone please explain why this is happening and if there is a workaround to keep \n as \n?Also if a similar question has been asked before, kindly provide a link, I couldn't find any.
Copy contents of one script to another script
bash;shell script