echo "bla bla bla 'foo foo foo "\""bar bar bar"\""': etc etc;"
or that:
echo "bla bla bla 'foo foo foo "\"bar bar bar\""': etc etc;"
They should work on the simple example that you gave, but cannot help with what you are actually trying to do ... The tcsh quote always annoyed me, especially when trying to define aliases using a combination of backticks, quotation marks, and double qutes .
We will warn you that the second form works for echo, but actually creates three separate arguments on the command line, which (after interpreting the escape sequences):
- bla bla bla 'foo foo foo "bar
- bar
- bar "': etc etc.
The first form is the one you should use.
source share