home *** CD-ROM | disk | FTP | other *** search
/ Usenet 1994 January / usenetsourcesnewsgroupsinfomagicjanuary1994.iso / sources / unix / volume25 / byte-benchmarks3.1 / part01 / pgms / report.awk < prev    next >
Encoding:
AWK Script  |  1992-02-01  |  969 b   |  26 lines

  1. ##############################################################################
  2. #  The BYTE UNIX Benchmarks - Release 1
  3. #          Module: report.awk   SID: 1.4 5/15/91 19:30:25
  4. #          
  5. ##############################################################################
  6. # Bug reports, patches, comments, suggestions should be sent to:
  7. #
  8. #    Ben Smith or Tom Yager at BYTE Magazine
  9. #    ben@bytepb.byte.com   tyager@byptepb.byte.com
  10. #
  11. ##############################################################################
  12. # generate an report from test log
  13. #############################################################################
  14. #  Modification Log:
  15. #        created 4/1/91 - Ben Smith
  16. #
  17. ##############################################################################
  18. BEGIN { FS="|" ; 
  19.     printf("\n");
  20.       }
  21. NF==2        { print $2; }
  22. NF==3        { printf("%-40.40s %s\n",$1,$2); }
  23. NF==6        { printf("%-40.40s %8.1f %-5s (%d secs, %d samples)\n",$1,$5,$3,$2,$6); }
  24. END   { printf("\n"); }
  25.