12-06-2010 04:47 PM
I kind of stuck on easy thing how to apply command I can use from prompt inside my ksh script.
I need to replace single qoute in my var,
this work ok from prompt:
$ echo $mm|tr -d "'"
but how put this into new var or change existing $mm value inside the script? I know how to do it with file, but d'like to stay with var.
$ mmm=`echo $mm|tr -d "'"` # this gaves me an error.
Appreciate you help on this easy for you subject. I check my manuals it's all clear untill hands on sample.
Solved! Go to Solution.
12-08-2010 04:19 AM
So, it appears that the suggestions offered solved your problem, based on point assignment. In that case, *exactly* what eliminated the error that you were encountering, and what *exactly* was that error?