Created
April 20, 2018 12:45
-
-
Save zthxxx/4fae099cede2a4d165a2e85811d1aa1a to your computer and use it in GitHub Desktop.
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
const raw = require('fs').readFileSync('/dev/stdin', 'utf8').trim().split('\n') | |
let line | |
while (line = raw.shift()) { | |
console.log(line) | |
} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment