I want create simple xml file using bash script ( not with dom )
but when I set value in the line then **echo** print the $lorem word and not the val
**lorem=LOL**
echo '$lorem' >> $MY_XML
I also try this
echo '\$lorem' >> $MY_XML
echo '"$lorem"' >> $MY_XML
echo '\"$lorem\"' >> $MY_XML
but all these print the exactly the line and not the val
please advice how to print the val $lorem ? as the following example
LOL
Asked by maihabunash
(7231 rep)
Feb 9, 2015, 08:28 AM
Last activity: Jun 5, 2024, 10:02 AM
Last activity: Jun 5, 2024, 10:02 AM