Entering a newline in the windows command prompt


#1

Took me a while to figure this out and thought it might be useful.
Basically, you use a caret and hit enter twice. It goes like this:

% ruby -e ‘puts ARGV.inspect’ ‘line one^
More?
More? line two’
[“line one\nline two”]