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
/
getrate.sh,v
< prev
next >
Wrap
Text File
|
1989-10-23
|
733b
|
39 lines
head 1.1;
access ;
symbols ;
locks ; strict;
comment @# @;
1.1
date 89.10.23.18.51.47; author joel; state Exp;
branches ;
next ;
desc
@Shells for comparing x11perf outputs
@
1.1
log
@Initial revision
@
text
@#! /bin/sh
# Extracts the column of rates of various operations, so that they
# can be pasted together later. Run this after getbest.sh or getavg.sh
# After this, you can run paste on the results of getbest on all
# the servers you want to compare to get nice columnar results.
# Also paste the output of getlabel.sh at the end.
# Mark Moraes, University of Toronto
sed 's/( *\([0-9]*\)/(\1/' $1 |
awk '$2 == "reps" || $2 == "trep" {
n = substr($6,2,length($6)-7);
printf "%8s\n", n;
}
'
@