Commit | Line | Data |
---|---|---|
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 | |
8 | char 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 | |
14 | static char sccsid[] = "@(#)yes.c 5.1 (Berkeley) %G%"; | |
15 | #endif not lint | |
16 | ||
c80eb320 BJ |
17 | main(argc, argv) |
18 | char **argv; | |
19 | { | |
20 | for (;;) | |
21 | printf("%s\n", argc>1? argv[1]: "y"); | |
22 | } |