// main.js
var readline = require('readline');
var rl = readline.createInterface({
input: process.stdin
});
rl.on('line', function(line){
console.log(line.toUpperCase());
});
rl.on('end', function(){
process.exit(0);
});
cat some.file.txt | node main.js