blob: 697d1f68554a62b4021f1f463a8de6da3275ece6 [file] [log] [blame]
#!/usr/bin/env node
// Licensed to the Apache Software Foundation (ASF) under one or more contributor
// license agreements; and to You under the Apache License, Version 2.0.
var fs = require('fs')
var input = process.argv.slice(2)
var loop = function() {
if (!input.length) return
var next = input.shift()
var s = next === '-' ? process.stdin : fs.createReadStream(next)
s.on('end', loop).pipe(process.stdout)
}
loop()