blob: 66df147941beba79bf0eab0528be024e80d63022 (
plain)
1
2
3
4
5
6
7
8
9
10
11
|
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();
|