added depend label
[unix-history] / usr / src / usr.bin / yes / yes.c
CommitLineData
f42904bc
DF
1/*
2 * Copyright (c) 1980 Regents of the University of California.
3 * All rights reserved. The Berkeley software License Agreement
4 * specifies the terms and conditions for redistribution.
5 */
6
7#ifndef lint
8char copyright[] =
9"@(#) Copyright (c) 1980 Regents of the University of California.\n\
10 All rights reserved.\n";
11#endif not lint
12
13#ifndef lint
14static char sccsid[] = "@(#)yes.c 5.1 (Berkeley) %G%";
15#endif not lint
16
c80eb320
BJ
17main(argc, argv)
18char **argv;
19{
20 for (;;)
21 printf("%s\n", argc>1? argv[1]: "y");
22}