In bash, it is easy to pass newline as command line argument:

foo 'this is 
a command line argument
with newlines'

However, if I try the same in tcsh, it complains about a missing '. How can I type the same in tcsh?

echo 'this has\
more than one line'

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service, privacy policy and cookie policy

Not the answer you're looking for? Browse other questions tagged or ask your own question.