projects
/
unix-history
/ blob
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
tags
|
clone url
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
blame
|
history
|
raw
|
HEAD
don't let users create their own symbol table for the running kernel
[unix-history]
/
usr
/
src
/
usr.bin
/
yes
/
yes.c
/*
* Copyright (c) 1987 Regents of the University of California.
* All rights reserved.
*
* %sccs.include.redist.c%
*/
#ifndef lint
char
copyright
[] =
"@(#) Copyright (c) 1987 Regents of the University of California.
\n
\
All rights reserved.
\n
"
;
#endif
/* not lint */
#ifndef lint
static char
sccsid
[] =
"@(#)yes.c 5.4 (Berkeley) %G%"
;
#endif
/* not lint */
main
(
argc
,
argv
)
int
argc
;
char
**
argv
;
{
if
(
argc
>
1
)
for
(;;)
puts
(
argv
[
1
]);
else for
(;;)
puts
(
"y"
);
}