date and time created 80/10/08 18:55:05 by bill
authorBill Joy <bill@ucbvax.Berkeley.EDU>
Thu, 9 Oct 1980 10:55:05 +0000 (02:55 -0800)
committerBill 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]

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
@@ -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");
+}