I can’t find a way to get quoted text in the shell without the backslash before it.
This is the command I want to run:
which adds the text
to the file aa.txt
If I do
set qpath to "<path to aa.txt>"
set thetext to "\"<A HREF=\"Show Me the Way\">enlightenment</A>\""
set thecmd to "echo " & thetext & " >> " & qpath
thecmd is:
“echo [b][/b]”<A HREF=[b][/b]“Show Me the Way[b][/b]”>enlightenment" >> “<path to aa.txt”
I mean, I can’t get rid of the backslashes before the quotes.
Please answer my simple query.