Search Results

Search: Posts Made By: nlevens
1,673
Posted By nlevens
getting it
ok, i'm doing something more like this

awk -F" -+" '{print $3 " " $7-$6+1}' L220090213RetransRequests.log

the ibm site is goog for awk teaching:

Common threads: Awk by example, Part 1...
1,673
Posted By nlevens
many thanks; another question
thanks joeyg and pludi. I understand your commands now so thanks. i'm trying to send a filename so would it be the following?

cut -d" " -f2 filename | awk -F"-" '{print $2-$1}'
1,673
Posted By nlevens
bc question
i'm trying to parse a file with lines like the below where i need to get a diff on the 169-182 so that the result is 13 for instance. I was looking into using bc but am not that familiar with...
Showing results 1 to 3 of 3

 
All times are GMT -4. The time now is 01:48 PM.
Unix & Linux Forums Content Copyright 1993-2022. All Rights Reserved.
Privacy Policy