summaryrefslogtreecommitdiff
path: root/initrd/bin/sh/catall
diff options
context:
space:
mode:
authordzwdz2022-08-13 16:21:02 +0200
committerdzwdz2022-08-13 16:21:02 +0200
commit57427191e2cf0f08724b74fba3a35aa41ceda40d (patch)
treee78b02cfd05d978772cc8dfff8de1cb4791c8021 /initrd/bin/sh/catall
parent1528e2153dfbd729916f1211a6f481a2171f855f (diff)
user: plan9-style /bin/ union
Diffstat (limited to 'initrd/bin/sh/catall')
-rw-r--r--initrd/bin/sh/catall19
1 files changed, 19 insertions, 0 deletions
diff --git a/initrd/bin/sh/catall b/initrd/bin/sh/catall
new file mode 100644
index 0000000..a1c8c76
--- /dev/null
+++ b/initrd/bin/sh/catall
@@ -0,0 +1,19 @@
+#!/bin/shell
+# equalivent to the old "catall" builtin, meant to demo shadowing
+# TODO shadow here
+echo /init/fake.txt:
+cat /init/fake.txt
+echo
+
+echo /init/1.txt:
+cat /init/1.txt
+echo
+
+echo /init/2.txt:
+cat /init/2.txt
+echo
+
+echo /init/dir/3.txt:
+cat /init/dir/3.txt
+echo
+