I am trying to unzip folder using shell script file(.sh). it is extracting files in the zip folder, but my destination directory created ends with ^M,
I am using this command in .sh file
unzip /tmp/mram/zip/ApNonProjectExpVO.zip -d /tmp/mram/zip/
and showing logs in putty as
Test.sh
Tue Jan 10 23:21:21 CST 2017
Archive: /tmp/mram/zip/ApNonProjectExpVO.zip
creating: /tmp/mram/zip/^M/ApNonProjectExpVO/
inflating: /tmp/mram/zip/^M/ApNonProjectExpVO/ApNonProjectExpVO.xml
zip
creation, not during extraction.unzip
line in the script.