I am having an issue getting sed to work correctly. I have a shell script (.sh file) on a remote server that is running Cent OS Linux. I want to execute using a batch file and Plink. When I execute the shell script (.sh file) using Putty or any other ssh ( e.g ./backup.sh ) it works fine but when I execute the shell script (.sh file) using a batch file sed throws an error message.I am having an issue getting sed to work correc