summaryrefslogtreecommitdiff
path: root/std/examples/cat.ts
diff options
context:
space:
mode:
Diffstat (limited to 'std/examples/cat.ts')
-rw-r--r--std/examples/cat.ts7
1 files changed, 0 insertions, 7 deletions
diff --git a/std/examples/cat.ts b/std/examples/cat.ts
deleted file mode 100644
index 04c40034b..000000000
--- a/std/examples/cat.ts
+++ /dev/null
@@ -1,7 +0,0 @@
-// Copyright 2018-2021 the Deno authors. All rights reserved. MIT license.
-const filenames = Deno.args;
-for (const filename of filenames) {
- const file = await Deno.open(filename);
- await Deno.copy(file, Deno.stdout);
- file.close();
-}