- Course
- Core Tech
Bash Script Robustness and Text Processing Tools
Automate text edits with sed and awk and guard your scripts against common pitfalls with logging, signals, and error handling.
What you'll learn
"Just grep it, pipe i to awk, and roundtrip it to sed and you're done!" Excuse me, what did you say!? In this course, Bash Script Robustness and Text Processing Tools, you’ll learn to automate text editing with powerful command-line tools and make your scripts resilient. First, you’ll explore how to use sed to perform precise, line-based filtering, transformations, and in-place text edits. Ideal for automating changes across an entire codebase. Next, you’ll discover how awk takes you beyond sed with its programming capabilities. You'll also see how to process structured data, apply logic, and extract columns with ease. Finally, you’ll learn how to harden your scripts. That way, when something fails, you'll know exactly what went wrong and swiftly figure out how to fix it. When you’re finished with this course, you’ll have a firm grasp on using sed, awk, and defensive scripting techniques in Bash.
Table of contents
About the author
Wes Higbee is passionate about helping companies achieve remarkable results with technology and software. He’s had extensive experience developing software and working with teams to improve how software is developed to meet business objectives. Wes launched Full City Tech to leverage his expertise to help companies delight customers.