Re: reading a file [OT]



On Thu, 2006-28-09 at 01:12 -0700, robannexs@xxxxxxxxx wrote:
hi all..

i've got a file of the following format

10000000 records in
10000000 records out
5120000000 bytes (5.1 GB) copied, 628.835 seconds, 8.1 MB/s

how am i suppose to get the parameter 8.1MB/s on the third line?


<OT>
Do you need to use C for this? A quick awk script would work
perfectly:

awk -F"," {'print $3;'}

--
Andrew Poelstra <http://www.wpsoftware.net/projects/>

.