I am new to shell script. I am sourcing a file, which is created in Windows and has carriage returns, using the source command. After I source when I append som
source
use this command on your script file after copying it to Linux/Unix
perl -pi -e 's/\r//' scriptfilename