Input Line Editing
Rick Adams
rick at seismo.CSS.GOV
Tue Aug 2 04:34:29 AEST 1988
In article <8291 at brl-smoke.ARPA>, gwyn at brl-smoke.ARPA (Doug Gwyn ) writes:
> No useful program that I am aware of uses gets(), for one thing.
While I agree gets() should be avoided, I felt obliged to see what
the "standard" UNIX does (V.2 is all I have source for).
The following programs use "gets":
cpio (which I agree is not useful)
cu (I prefer tip, but its a matter of taste)
cflow
spell (the routine that makes the hash tables)
(Berkeley UNIX is untainted)
--rick
More information about the Comp.unix.wizards
mailing list