string manipulation


sed delete line

In this article I want to explain how you can use sed to automatically delete a line from a file or a stream. This can be useful in the following cases: delete the first line of a file to implement a simple resource pool (e.g. available IP addresses can be managed in a simple text […]


sed replace newline (or 5 ways to remove line breaks with sed, python, tr, perl, xargs) 1

When you are automating tasks you often come to the point where you have to remove newlines / line breaks from documents or ASCII streams to use this output as parameters for the next steps. There are many options how this can be done. Especially in Big Data streaming you should also consider the performance […]

sed remove line break vs replace newline with other tools