$Log$
+ Revision 590.37 2002/01/05 04:51:36 error
+ * stats now sorts its top 20 lists properly
+
Revision 590.36 2002/01/04 20:57:36 nbryant
cygwin fix
Fri Jul 10 1998 Art Cancro <ajc@uncensored.citadel.org>
* Initial CVS import
-
printf("Calls Avg/Day Username\n");
printf("----- ------- ------------------------------\n");
fflush(stdout);
- sortpipe = (FILE *) popen("sort |tail -20 |sort -r", "w");
+ sortpipe = (FILE *) popen("sort |tail -20 |sort -nr", "w");
for (callptr = callers; callptr != NULL; callptr = callptr->next) {
fprintf(sortpipe, "%5d %7.2f %-30s\n",
callptr->Ctimescalled,
printf("P/C Ratio Username\n");
printf("--------- ------------------------------\n");
fflush(stdout);
- sortpipe = (FILE *) popen("sort |tail -20 |sort -r", "w");
+ sortpipe = (FILE *) popen("sort |tail -20 |sort -nr", "w");