Re: Sorting logfile entries



Christian Chrismann wrote:
Hi,

I use a simple bash script that runs my application with different

Any hints?


Are you limited to stream oriented tools (sed, awk, etc)?
There are other tools that come with linux that would possibly make the
job a bit easier. Things such as python & ruby.
At that stage you could build records/classes of each entry and sort
based on individual fields. (I'm not sure you can do these things in
awk)
As far as the 'bug' is concerned, I would suggest that you fix it.
Don't compensate for errors by covering them up - fix them and move on.

Thank you.

Regards,
Chris

.



Relevant Pages

  • Re: How to filter data file with double-quotes
    ... I couldn't find a fix for Cesar's version... ... Ed's solution 'prints out negative values as positive' because his analysis of the problem led him to create a script where the character "-" is understood by AWK as a separator. ... Again, in Ed's solution becouse he cleverly instructed AWK to consider '"' as a separator chararacter, you may end up with blanks or not the numberyou expect for the last two values. ...
    (comp.lang.awk)
  • Re: Seeking help with Sed statement.
    ... To my understanding of sed it would be: ... I've been able to write the fix in awk, ... I just reread your post since Chris pointed out you want only the ...
    (comp.unix.programmer)
  • Re: Seeking help with Sed statement.
    ... To my understanding of sed it would be: ... I've been able to write the fix in awk, ... I just reread your post since Chris pointed out you want only the ...
    (comp.unix.shell)
  • Re: CONFIG_KPROBES=y build requires gawk
    ... Your awk doesn't support charactor-class. ... Please try to use gawk. ... Aside of the incorrect suggestion (you need not just gawk, ... to fix, the same fix will remove any benefits compared to universally ...
    (Linux-Kernel)