sed command fails to edit when a sh file is executed using the custom command call.
Hi Martin,
I am automating the process of editing the .properties file using sed command.
"File1.bat" will be generated in windows that contains the sed command to edit the file
This File1.bat will be put to the linux machine
Then File1.bat will be executed using the custom command call
The error I was doing is when I put the file from windows to linux, I did not use any transfer options, hence I was getting "no such file or directory" error.
Once I change the -transfer option to ascii , the above issue was fixed.
However let me know if there is some better way of doing this.
I am automating the process of editing the .properties file using sed command.
"File1.bat" will be generated in windows that contains the sed command to edit the file
This File1.bat will be put to the linux machine
Then File1.bat will be executed using the custom command call
The error I was doing is when I put the file from windows to linux, I did not use any transfer options, hence I was getting "no such file or directory" error.
Once I change the -transfer option to ascii , the above issue was fixed.
However let me know if there is some better way of doing this.