Bash Patterns and Regular Expressions
MP4 | Video: AVC 1280x720 | Audio: AAC 48 kHz 2ch | Duration: 2h 2m | 240 MB
Genre: eLearning | Language: English
Pattern matching allows you to create a script that can act on pieces of data if it matches a specific pattern. This makes it possible to script automation into a system process. In this course, learn how to use pattern matching in a Bash script using globs, extended globs, brace expansion, and regular expressions (regex). Throughout this course, Grant McWilliams covers the differences between basic and extended regexes and delves into using extended regexes in bash conditional statements, grep, sed, and AWK.
Topics include:
What are globs and extended globs?
How locale affects searches
Making extended globs persistent
Comparing extended globs with regular expressions (regexes)
Using brace expansion for patterns
Working with extended regexes
Using sed
Regexes in AWK
Enjoy!