Summary

Another great chapter that you have firmly under your belt and I hope this was really useful to you. Although, we want to concentrate on using sed, we started with how powerful grep can be both inside and outside our scripts. This led us to the Regular Expressions before taking a look at just a few of the possibilities of sed. Although, we have only just touched sed, we will start extending this in the next chapter were we will expand upon what we have learned. This will take the form of scripting Apache Virtual Hosts by first extracting commented data from the current configuration, uncommenting and writing it to a template. We can then use the template to create new Virtual Hosts. The workhorse of all these operations will be sed and ...

Get Mastering Linux Shell Scripting now with the O’Reilly learning platform.

O’Reilly members experience books, live events, courses curated by job role, and more from O’Reilly and nearly 200 top publishers.