Jun 1, 2013, 5:18 PM
Re: [FishMonger] Search for text within a line of text
Many thank you's for the updated script. As I read through it... I wanted to make sure I'm on the right track here...
With a cursory glance, it looks like you are interpreting each field with the ':' as the delimiter, noting if the field has data in it or not. My only note here is your assumption about the hostname always being the 2nd field in the NonProd file. With this list, you can't necessarily do that, but now you've got me thinking to get more specific and just look at the suffix, because that actually is important to me if I wanted to approach it using an example of "Look at each line in the 2nd (NonProd) file, and if it has :KUL or :KUX in the line, search that line and discard all of the others, because the data (or field) before the :KUL/:KUX is in fact the hostname that I am looking for.
Did I get that right... (be gentle... LOL)...
(This post was edited by mike3point0 on Jun 1, 2013, 5:19 PM)