I have a task to search and join broken strings in configuration files on multiple servers:Configuration file contains many parameters and a section of it has few broken lines, which needs to be joined.Broken strings in the configuration file are like the 2nd and 3rd line in below example:rconfigure En32zrt 10.xx.xx.xx/24rconfigure En32zrt 10.10.xx.xx/24rconfigure En32zrt 10.xx.xx.xx/24And it should look like, I need to join 2nd and 3rd line from above example to look like:rconfigure En32zrt 10.xx.xx.xx/24rconfigure En32zrt 10.10.xx.xx/24rconfigure En32zrt 10.xx.xx.xx/24Hope I'm clear.Please advise.Edit:Strings are not necessarily ending with /24.it could be like this as well:rconfigure En32zrt 10.xx.xx.xx    rconfigure     En32zrt 10.10.xx.xx/24    rconfigure En32zrt 10.xx.xx.xxWhich should be changed to:rconfigure En32zrt 10.xx.xx.xxrconfigure En32zrt 10.10.xx.xx/24rconfigure En32zrt 10.xx.xx.xx
How to find and join broken string
linux;shell script;sed;join