Search Results

Search: Posts Made By: ping
4,951
Posted By ping
You're a Genius.... Talk about making things...
You're a Genius....

Talk about making things look easy.

Thanks very much
4,951
Posted By ping
Okay...did a quick and cut down version of what I...
Okay...did a quick and cut down version of what I have using the example I gave earlier:

/usr/xpg4/bin/awk '{
id_arr[$2]++;
id_dat[$2]=$1;

} END {
for ( x in id_arr ) {
printf...
4,951
Posted By ping
I could post what I've got so far, but the format...
I could post what I've got so far, but the format of the log file is totally different from my example.

What I mean by first and last occurance is the earliest date and the last date an entry was...
4,951
Posted By ping
awk array - first and last occurance
What I'm trying to do is, using awk, loading the log file into an array matching column 2, counting the match and finding the first occurance and last occurance of column 1 being it a date.
...
Showing results 1 to 4 of 4

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