4 ms·
[jdale@localhost ~]$ java -cp . Test "foo bar baz" foo bar baz
by jdale27 18y ago
[jdale@localhost ~]$ java -cp . Test "foo bar baz"
foo
bar
baz
- chrisbroadfoot 18y agoOh, good point. Cheers. I then submit my Groovy solution: args[0].split().each { println it }