i found these files and started to study and update /rewrite them to learn from it.
V7/usr/src/cmd/yes.c
i have however a question. i noticed there is no license .no comments, and besides from the old code it also uses many goto statements in some of the sources.
i been under the impressing that only when writing on a kernel would ever need a goto in code and i also think from having read some other sources for the same programs from solaris and from gnu core-utils that these old codes seems to be not so well written and somehow very simple and i wonder if it is actual old production code.
if anyone has similar links to older code or code like this i can "steal" and learn from i would be very happy. especially if the sources are available used for exact that purpose.
thanks.