I wanted to do a pattern match to select lines inserted in a log file in the last 5 mins. The log files get rotated automatically once they reach a particular size limit and 5 archives are saved. So, there is a posibility that 5 min logs might get split accross two or more files. Considering how...
I was thinking in term of awk to achieve this.
Anyways have tried 3 times to post the same to the mentioned forum, but the post doesnt show up. Seems they mind me asking this over there :|
Z
I wanted to do a pattern match to select lines inserted in a log file in the last 5 mins. The log files get rotated automatically once they reach a particular size limit and 5 archives are saved. So, there is a posibility that 5 min logs might get split accross two or more files. Considering how...
Thanks that did the job. I was trying to understand arr[$2]+=$1 part... how is awk handling it? I'm guessing that all the rows from all the files are being loaded to memory and the matching $2 fields are being poped to add their 1st field.
Been working with basic awk since a while. You...
I've got multiple files which have sorted uniq -c outputs. The 1st field is a number and the second field is some name. Now I need to merge such outputs from a number of files. A name could occur more than once accross these files but the 1st field would differ. I need to add up the 1st field...
Hi,
I have a strange problem wit Access2000 .When i copy my MDB database file to another PC some of the functions stop responding. Like
1- I have a default value set for a text box in a form having =DATE().It work for my current PC but if i copy the database file anywhere else it starts...
This site uses cookies to help personalise content, tailor your experience and to keep you logged in if you register.
By continuing to use this site, you are consenting to our use of cookies.