Search Results

Search: Posts Made By: kinksville
3,406
Posted By kinksville
Removing duplicates in a sorted file by field.
I have data like this:
It's sorted by the 2nd field (TID).
envoy,90000000000000634600010001,04/11/2008,23:19:27,RB00266,0015,DETAIL,ERROR,...
10,617
Posted By kinksville
Sorry about that, I'm happy to start a new...
Sorry about that, I'm happy to start a new thread, I hadn't wanted to post something that was already being answered.
10,617
Posted By kinksville
I have a similar, but not identical problem.
I have data like this:
It's sorted by the 2nd field (TID).
envoy,90000000000000634600010001,04/11/2008,23:19:27,RB00266,0015,DETAIL,ERROR,...
26,872
Posted By kinksville
So here's what finally got me the result I was looking for.
#This script scans the appropriate log file and copies lines containing authorization requests to the output.
#All output is comma separated.
#Author: kinksville
#Date: April 24,...
26,872
Posted By kinksville
No such luck
:eek:

Neither of those snippets worked correctly for me. The FS syntax that you used probably changed the number of fields and so they didn't all get printed out.

The second snippet just seemed...
26,872
Posted By kinksville
I was a little confused by the fact that QF and...
I was a little confused by the fact that QF and @D were working too. I think its because [QF]+ matches QQ QQQ QF QQFF etc.

It's not as clean as I might like but those characters are always at that...
26,872
Posted By kinksville
Multiple input field Separators in awk.
I saw a couple of posts here referencing how to handle more than one input field separator in awk. I figured I would share how I (just!) figured out how to turn this line in a logfile:
...
Showing results 1 to 7 of 7

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