Regular expressions can be especially powerful when paired with any kind of scripting or text processing language, such as `sed`. In this learning activity, we craft a script to add formatting to a plain-text file using various regular expressions concepts alongside `sed` to create a Latex-friendly document.
Learning Objectives
Successfully complete this lab by achieving the following learning objectives:
- Create `sed` script.
Create a
sed
script that meets all the requirements listed in the instructions.- Convert the example file
Convert
mail-forwarding.txt
tomail-forwarding.latex
with the sed script developed in the hands-on lab.