home *** CD-ROM | disk | FTP | other *** search
/ The World of Computer Software / World_Of_Computer_Software-02-387-Vol-3of3.iso / x / x11p-13.zip / RCS / mungeall.sh,v < prev    next >
Text File  |  1989-10-23  |  679b  |  46 lines

  1. head     1.1;
  2. access   ;
  3. symbols  ;
  4. locks    ; strict;
  5. comment  @# @;
  6.  
  7.  
  8. 1.1
  9. date     89.10.23.18.51.55;  author joel;  state Exp;
  10. branches ;
  11. next     ;
  12.  
  13.  
  14. desc
  15. @Shells for comparing x11perf outputs
  16. @
  17.  
  18.  
  19.  
  20. 1.1
  21. log
  22. @Initial revision
  23. @
  24. text
  25. @#! /bin/sh
  26. # Collects multiple outputs of getbest, runs getrate, getlabel, and
  27. # collects the output neatly.
  28. # Mark Moraes, University of Toronto
  29. set -e
  30. tmp=/tmp/rates.$$
  31. mkdir $tmp $tmp/rates
  32. n=1
  33. for i
  34. do
  35.     (echo "     $n  "; echo '--------'; getrate.sh $i) \
  36.         > $tmp/rates/$i
  37.     echo "$n: $i"
  38.     n=`expr $n + 1`
  39. done
  40. echo ''
  41. (echo Operation; echo '---------'; getlabel.sh $1) | \
  42. (cd $tmp/rates; paste $* -) | \
  43. sed 's/    /   /g'
  44. rm -rf $tmp
  45. @
  46.