No such thing as a small change | |
PerlMonks |
Re^3: Regex to extract certain lines only from command output/text file.by arnaud99 (Beadle) |
on Mar 08, 2013 at 03:16 UTC ( [id://1022339]=note: print w/replies, xml ) | Need Help?? |
Hi, In response to: The OP has only one "9 hostname13 Generic", so how did it become two, in the final output. I added an extra one in the __DATA__ section, for testing purposes. Only one was showing in the output (the last one in __DATA__ , due to an empty line at the end of the same __DATA__ section. (The fix is also posted in one of the replies) Thanks. Arnaud
In Section
Seekers of Perl Wisdom
|
|