Path: utzoo!utgpu!watmath!clyde!att!osu-cis!killer!texbell!merch!cpe!tif From: tif@cpe.UUCP Newsgroups: comp.os.minix Subject: Re: tc wns newer_head Message-ID: <6600003@cpe> Date: 11 Jan 89 00:00:00 GMT References: <6740@killer.DALLAS.TX.US> Lines: 26 Nf-ID: #R:killer.DALLAS.TX.US:6740:cpe:6600003:000:1409 Nf-From: cpe.UUCP!tif Jan 10 18:00:00 1989 Written 8:26 am Jan 10, 1989 by killer.UUCP!dono in cpe:comp.os.minix /* ---------- "tc wns newer_head" ---------- */ >register FILE *in = stdin; /* default is standard input */ >register int header = FALSE; /* TRUE if multiple files */ >register char *cp; /* general purpose pointer */ >register long nlines = 10; /* number of lines to display */ >register long skip = 0; /* number of lines to skip */ >register char *pgm; /* program name */ >register FILE *in; /* input stream */ >register char *inname; /* input file name */ >register long skip; /* number of lines to skip */ >register long nlines; /* number of lines to display */ >register char *c; /* convenient local pointer */ >register long lineno = 0; /* line number in file */ >register char *namptr, You gotta lotta guts expecting the minix compiler to handle registers right. :-) I don't mean to be disrespectful to the minix compiler but I have had so many compilers screw up with registers declared. Not to mention that on an Intel processor register declarations usually cause worse code than without. Paul Chamberlain Computer Product Engineering, Tandy Corp. {killer | texbell}!cpe!tif