/usr/lib/nodejs/quote-stream/bin/cmd.js is in node-quote-stream 1.0.2-3.
This file is owned by root:root, with mode 0o755.
The actual contents of the file can be viewed below.
1 2 3 4 5 6 7 8 9 10 11 12 13 | #!/usr/bin/env nodejs
var quote = require('../');
var minimist = require('minimist');
var fs = require('fs');
var argv = minimist(process.argv.slice(2), { alias: { h: 'help' } });
if (argv.help) {
var s = fs.createReadStream(__dirname + '/usage.txt');
return s.pipe(process.stdout);
}
process.stdin.pipe(quote()).pipe(process.stdout);
|