I have to pass a sentence in a file, the specs are as:
cat run | sed 's/SRT/'$8'/g' | sed 's/plength/68/g' | sed 's/stcol/'$5'/g' | sed 's/encol/'$6'/g' | sed 's/brdtype/'$1'/g' | sed 's/brdtxt/'$3'/g' | sed 's/demotxt/Total '$2'/g' | sed 's/bantxt/ban_'$7'/g' | sed 's/validcodes/'$4'/g' > runx
TEXT = "Power Tools or Accessories"
source run.do POWERTOOLS "$TEXT" powertools 012:042 1242 4242 power1 nosort
Here at demotxt I have to pass a string "Power Tools or Accessories", but i am getting only blanks with this specs in the output file
Out put I am getting
*include idemo.axe;btxt=Total
and output desired is
*include idemo.axe;btxt=Total Power Tools or Accessories
Please help me out...