Answer the question
In order to leave comments, you need to log in
How to pass multiline text as a parameter to a command?
There is a command node /somejs.js arg1 arg2 arg3
How to transfer multiline text to arg1? Because to be:
node /somejs.js "Какой-то\nмногострочный\nтекст" arg2 arg3
Answer the question
In order to leave comments, you need to log in
Try answers from SO - idea with cat+heredoc is googled most often
Didn't find what you were looking for?
Ask your questionAsk a Question
731 491 924 answers to any question