I want to print the output of a program in MS-DOS, so I wrote a .bat file that says:
cls
ruby foo.rb
But the output - as it appears on my command line - looks like this:
c:\workspace>ruby foo.rb
foo output
c:\workspace>
I wanted to insert a new line into the output using MS-DOS because I don't want to pollute my Ruby code with anything unrelated to what the code should do.
The only commands in MS-DOS that look the way I want are type and print, but both are for printing files.
I tried to create a text file with two blank lines and output it using the "type" command, but it looks messy.
Any ideas would be appreciated.