perry@well.UUCP (Perry S. Kivolowitz) (12/31/86)
Here's a program I call ``who:'' which out of habit, I run routinely
on my Amiga.
main(argc , argv)
char *argv[];
{
printf("Just you Dummy! This ain't no Unix(tm) machine!\n");
}
Happy New Year to All!
Perry
ASDG Inc.
perry@well.UUCP (Perry S. Kivolowitz) (12/31/86)
In article <2283@well.UUCP>, perry@well.UUCP (Perry S. Kivolowitz) writes: > Here's a program I call ``who:'' which out of habit, I run routinely Jeeze, don't know how that ``:'' got in there!
wagner@utcs.UUCP (12/31/86)
That was an awfully short program to have a bug fix so quickly, Perry! :-) In IBM land, from whence I come, the shortest program supplied with the operating system is a 2 instruction, do-nothing program called IEFBR14. It is invoked whenever you don't really want to run a program, but merely want to take advantage of some of the side effects that the Job Control Language is willing to provide. This program (2 assembler instructions, mind) has, reputedly, the highest ratio of bug fixes to code length of any in that arena. The two instructions were to zero the return code register, and return. The bug? They zeroed the wrong register! Perhaps this should have gone in comp.sys.amiga.jokes, but we haven't gotten that specialized yet. Michael