Good day,
I typically write rather simple BASH scripts on a routine basis. I can get the majority of my tasks done via cut
, echo
, sed
, and other command-line applications for parsing text, lists, etc.
I have a basic understanding of some simple regular expressions while using SED and VIM, but I am a complete stranger to AWK, and feel I should improve upon my understanding of regex.
Can anyone recommend any resources on this subject? Most of my Google searches have been fruitless or are mainly a few existing examples. My primary concern is gaining a solid generalized grasp of regex which I can then focus on SED, VIM, and AWK. I have already Googled a number of books on the topic, but they all seem to be focused on the ins-and-outs of the specific application with minimal emphasis on regex, while the books I find on regex seem to have no mention of SED or VIM, and instead focus on Perl, Python, and Ruby.
The end-goal is that I would like to be able to come up with one-liners like one other generous poster created in a previous question of mine at sed one-liner - Find delimiter pair surrounding keyword , or even more complex than that.
Any material would be helpful. A book, pocket reference, a website with a thorough tutorial, etc. I personally prefer small books as I can take them on the go, and have a hard-copy.
Thank you all in advance for your time and assistance.