Hi I am trying to replace the content LIB="common.jar" with LIB="common.jar param.jar" in a file. For doing the same, I am using the command
echo $line | /bin/sed \ -e 's/'LIB="common.jar"'/'LIB="common.jar param.jar"'/g' \.
But when I try to execute the same using a postinstall file, I am getting the error message "COMMAND GARBLED". Instead of whitespace, if I give an underscore or some other character between common.jar and param.jar, it is working fine.
Kindly guide me on how can this issue be resolved.
Thanks in advance.