Posts Tagged ‘sed’

Python for bash replacement

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 […]

New article – sed, the missing manual

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!

sed – the missing manual

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 […]