[CS-FSLUG] Shell Scripting A Solution to Network Monitoring

Frank Bax fbax at sympatico.ca
Fri Jul 30 08:42:54 CDT 2004


At 05:08 PM 7/29/04, Josiah Ritchie wrote:

>I'm not looking for a solution to the above problem. (I want to stuggle
>through that on my own... until I ask for more help. :-) What I would
>like to know is if anyone knows of a quick and easy shell script way to
>take all those lines and concatenate them together so I have each entry
>on its own line starting with "lease" and ending with }?


I would use sed/tr to remove all newlines, then insert a new line in "} lease".





More information about the Christiansource mailing list