blob: 1bbeaa6f4868a93a9236f9ee116e0e98e75b7532 (
plain)
1
2
3
4
5
6
7
|
#!/usr/bin/env node
var print = require("sys").print,
src = require("fs").readFileSync(process.argv[2], "utf8");
// Previously done in sed but reimplemented here due to portability issues
print( src.replace( /^(\s*\*\/)(.+)/m, "$1\n$2" ) + ";" );
|