* Copyright (c) 1980 Regents of the University of California.
* All rights reserved. The Berkeley software License Agreement
* specifies the terms and conditions for redistribution.
"@(#) Copyright (c) 1980 Regents of the University of California.\n\
static char sccsid
[] = "@(#)comp.c 5.1 (Berkeley) %G%";
while (fgets(&new[0], MAX
, stdin
) != NULL
) {
for (i
=0; i
<MAX
&& old
[i
]==new[i
]; i
++);
fprintf(stderr
, "long word\n");
for (j
=0; (old
[j
]=new[j
]) != '\n'; j
++);