Index: trunk/extensions/VisualEditor/modules/parser/parse.js |
— | — | @@ -25,6 +25,8 @@ |
26 | 26 | parser.parse( input ); |
27 | 27 | var output = parser.getWikiDom(); |
28 | 28 | process.stdout.write( output ); |
| 29 | + // add a trailing newline for shell user's benefit |
| 30 | + process.stdout.write( "\n" ); |
29 | 31 | process.exit(0); |
30 | 32 | } ); |
31 | 33 | |