Няма описание

1234567891011121314151617
  1. #!/usr/bin/env node
  2. var cli = require('cli');
  3. var output_file = function (file) {
  4. cli.withInput(file, function (line, sep, eof) {
  5. if (!eof) {
  6. cli.output(line + sep);
  7. } else if (cli.args.length) {
  8. output_file(cli.args.shift());
  9. }
  10. });
  11. };
  12. if (cli.args.length) {
  13. output_file(cli.args.shift());
  14. }