in reply to Re^3: how to parse to get only the replica names in an array
in thread how to parse to get only the replica names in an array

Oh my, we have different interpretation about the input lines :-) You have five lines, I only have four because I thought that the "v_dialer replica for Redmond" line was lined up with "rd_v_dialer". Of course, your codes are just fine in your situation (with five lines of input). Now I know what that next... line is for. And yes, I know about "." and "\n" and "/s".

Open source softwares? Share and enjoy. Make profit from them if you can. Yet, share and enjoy!