Skip to main content

You are not logged in. Your edit will be placed in a queue until it is peer reviewed.

We welcome edits that make the post easier to understand and more valuable for readers. Because community members review edits, please try to make the post substantially better than how you found it, for example, by fixing grammar or adding additional resources and hyperlinks.

2
  • You're right, the combined log file is badly named in my example code. Thanks for the suggestion. Do you know of a way through Linux commands to split the output of the file on our server? We could probably get some regExes built, but that approach seems brittle. Part of the issue is that the header lines only appear when output is detected from a different file, so the number of lines after each header is variable. Commented Apr 28, 2020 at 13:56
  • An awk script would be one "obvious" way to proceed, to me at least. Perl or Python would also work fine. It could be done in bash if you prefer, but I think it would be uglier. Commented Apr 29, 2020 at 15:26