Sha256: 1f54f1bae68712009064ba32086924b657e7b2d6ad7547d453b08158a267fa7f

Contents?: true

Size: 354 Bytes

Versions: 5

Compression:

Stored size: 354 Bytes

Contents

#!/usr/bin/env node

var cli = require('cli');

var output_file = function (file) {
    cli.withInput(file, function (line, sep, eof) {
        if (!eof) {
            cli.output(line + sep);
        } else if (cli.args.length) {
            output_file(cli.args.shift());
        }
    });
};

if (cli.args.length) {
    output_file(cli.args.shift());
}

Version data entries

5 entries across 5 versions & 3 rubygems

Version Path
xcodebuild-helper-1.2.5 externals/ios-sim-master/node_modules/cli/examples/cat.js
xcodebuild-helper-1.2.3 externals/ios-sim-master/node_modules/cli/examples/cat.js
exercism-analysis-0.1.1 vendor/javascript/node_modules/jshint/node_modules/cli/examples/cat.js
trans-0.5.10 template/node_modules/grunt-contrib-jshint/node_modules/jshint/node_modules/cli/examples/cat.js
trans-0.5.9 template/node_modules/grunt-contrib-jshint/node_modules/jshint/node_modules/cli/examples/cat.js