When I started learning Python, I was looking for a programming language that would replace BASH, AWK and SED. I am a C/C++ programmer and as such I better invest my time into studying C and C++. Instead, every time I needed some complex script I opened up a book on BASH and refreshed my […]
Posted on July 16, 2008, 8:36 am, by Alexander Sandler, under
News.
This article describes sed, an excellent tool that I often use in shell scripts that I write. In the article I explain it’s most common features and also show some often overlooked features. You can find it here. Enjoy it!
Tags:
expression,
linux,
regular,
regular expression,
replace,
script,
search,
search and replace,
sed,
shell,
unix No Comments |
Read the rest of this entry »
Table of contents Introduction Why sed rules? sed simple case – search and replace Search and replace with regular expressions sed‘s other half Generic sed command sed addresses Simple addressing, by line number Complex addressing Putting it all together IntroductionBACK TO TOC sed is an exceptionally powerful and often overlooked tool. Its most common use […]