Permalink
Find file Copy path
Fetching contributors…
Cannot retrieve contributors at this time
12 lines (9 sloc) 230 Bytes
import { stdout, open, copy, args } from "deno";
async function main() {
for (let i = 1; i < args.length; i++) {
const filename = args[i];
const file = await open(filename);
await copy(stdout, file);
}
}
main();