Created
January 15, 2015 01:10
-
-
Save draconar/7c85f4c342968f1bcbcb to your computer and use it in GitHub Desktop.
reading the results obtained from stdin data
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
process.stdin.on("end", function () { | |
var r = _input.split('\n'); | |
for(var i = 1; i < r.length; i++) { | |
console.log( processData(r[i]) ); | |
} | |
}); |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment