projects
/
unix-history
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
tags
|
clone url
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
|
inline
| side by side (parent:
159e7f9
)
Research V7 development
author
Ken Thompson
<ken@research.uucp>
Mon, 15 Jan 1979 04:50:01 +0000
(23:50 -0500)
committer
Ken 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]
patch
|
blob
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