I have a comma-delim file of between 20-30k lines. I'd like to sum the 19th field based on whether the first field is an "I" (Incoming) or an "O" (Outgoing) and sum the number of I's and O's as well. I'd ideally like to see 4 values output: #In, #Out, Size In, Size Out.
For the curious I'm looking at monthly logs of our GroupWise SMTP server and field 19 is the attachment size.
Looking for a push in the right direction rather than a full-fledged solution, please. (Old dog learning new tricks?)
Thanks in advance!
maurie
For the curious I'm looking at monthly logs of our GroupWise SMTP server and field 19 is the attachment size.
Looking for a push in the right direction rather than a full-fledged solution, please. (Old dog learning new tricks?)
Thanks in advance!
maurie