Files
coopgo/node_modules/rw/test/cat-async
sgauthier 6e64e138e2
All checks were successful
Publish To Prod / deploy_and_publish (push) Successful in 35s
planning
2024-10-14 09:15:30 +02:00

11 lines
244 B
JavaScript
Executable File

#!/usr/bin/env node
var rw = require("../").dash;
rw.readFile(process.argv[2] || "-", "utf8", function(error, contents) {
if (error) throw error;
rw.writeFile("-", contents, "utf8", function(error) {
if (error) throw error;
});
});