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:
2d5b401
)
date and time created 80/10/08 18:55:05 by bill
author
Bill Joy
<bill@ucbvax.Berkeley.EDU>
Thu, 9 Oct 1980 10:55:05 +0000
(
02:55
-0800)
committer
Bill Joy
<bill@ucbvax.Berkeley.EDU>
Thu, 9 Oct 1980 10:55:05 +0000
(
02:55
-0800)
SCCS-vsn: usr.bin/yes/yes.c 4.1
usr/src/usr.bin/yes/yes.c
[new file with mode: 0644]
patch
|
blob
diff --git a/usr/src/usr.bin/yes/yes.c
b/usr/src/usr.bin/yes/yes.c
new file mode 100644
(file)
index 0000000..
aae6ec6
--- /dev/null
+++ b/
usr/src/usr.bin/yes/yes.c
@@ -0,0
+1,7
@@
+static char *sccsid ="@(#)yes.c 4.1 (Berkeley) %G%";
+main(argc, argv)
+char **argv;
+{
+ for (;;)
+ printf("%s\n", argc>1? argv[1]: "y");
+}