Research V7 development
authorKen Thompson <ken@research.uucp>
Mon, 15 Jan 1979 04:50:01 +0000 (23:50 -0500)
committerKen Thompson <ken@research.uucp>
Mon, 15 Jan 1979 04:50:01 +0000 (23:50 -0500)
Work on file bin/1

Co-Authored-By: Dennis Ritchie <dmr@research.uucp>
Synthesized-from: v7

bin/1 [new file with mode: 0755]

diff --git a/bin/1 b/bin/1
new file mode 100755 (executable)
index 0000000..ee9a6d4
--- /dev/null
+++ b/bin/1
@@ -0,0 +1,17 @@
+case $# in
+
+0)
+       if random -e 1.1
+       then
+       echo one bell system - it works
+       elif random -e 1.1
+       then
+       /usr/games/fortune
+       else 1;1;1;1;1;1;1;1;1;1
+       fi
+;;
+
+*)
+       echo one $* - it works
+
+esac