E. g. I want to say
perl -e 'print '"'"'Hello, world!'"'"', "\n";'
Is there a less awkward way to do it, e. g. escaping single-quotes?
Yes, I know that I can write
perl -e 'print q[Hello, world!], "\n"' perl -e 'print "Hello, world!\n"'
But this question is about quoting in the shell, not in the Perl.
I'm interested how to do it in
csh in the first place.