3 This program reads a single line from the standard input
4 and writes it on the standard output. It is probably most useful
5 in conjunction with the Bourne shell.
14 register char *linep, *linend;
18 linend = line + LSIZE;
20 while ((c = readc()) != nl)
24 write (1, line, LSIZE);
29 write (1, line, linep-line);
31 if (EOF == 1) exit(1);
37 if (read (0, &c, 1) != 1) {