Path: utzoo!utgpu!water!watmath!clyde!bellcore!rutgers!gatech!ncar!boulder!sunybcs!bingvaxu!leah!itsgw!steinmetz!uunet!pcrat!rick From: rick@pcrat.UUCP (Rick Richardson) Newsgroups: comp.arch Subject: Re: Dhrystone 2.n Results (1 of 1) Message-ID: <525@pcrat.UUCP> Date: 11 Jul 88 03:34:44 GMT References: <520@pcrat.UUCP> <46500021@uxe.cso.uiuc.edu> Reply-To: rick@pcrat.UUCP (Rick Richardson) Organization: PC Research, Inc., Tinton Falls, NJ Lines: 43 In article <46500021@uxe.cso.uiuc.edu> mcdonald@uxe.cso.uiuc.edu writes: > >Would someone PLEASE process this Dhrystone list into HUMAN -READABLE >and SCREEN-WIDTH ascii, and post it? PLEASE PLEASE. I would love to see >the results but > 1. I can't read binary. > 2. I have no way to translate this into ascii. The programs "uudecode" and "uncompress" convert it back into ASCII. These come standard on many systems, and source can be found in the comp.sources.unix archives. > 3. I have no way to print things wider than 80 characters. > >I would bet that lots of other persons would like this too. If it >is too big >for one posting, break it into pieces! > >P.S. I suppose I could print it in pieces and glue them together. The UNIX "sed" utility can be used to break the printout into "left" and "right" halves. You may have to write a simple program on some other operating systems to accomplish the same results. e.g. sed 's/^.\{1,80\}//' <160_col_file >right_half sed 's/^\(.\{80\}\).*/\1/' <160_col_file >left_half There is simply no readable way to present 15 columns of information on an 80 character line. The larger width is necessary. I formatted it at 160 columns given the large number of dot matrix and laser printers that can handle this width of printing. However, if there is a demand, I'll post the "raw" Prelude format database file with the formatted files next time. Prelude database files are easily manipulated with "awk": each column is tab separated. Unfortunately, the database will also have to be compressed and uuencoded: many of the lines exceed 200 characters. -- Rick Richardson, PC Research, Inc. (201) 542-3734 (voice, nights) OR (201) 389-8963 (voice, days) uunet!pcrat!rick (UUCP) rick%pcrat.uucp@uunet.uu.net (INTERNET)