In second part of AWK tricks and hacks will be described how to print lines between two patterns, how to add character, word or anything else on beginning and at the end of line.
Sed is a stream editor. A stream editor is used to perform basic text transformations on an input stream (a file or input from a pipeline). in this post I will show you how easy we can replace text, marge two line into one and strip multiple spaces to one.
AWK is pattern scanning and processing language. I Will show how useful is awk on some examples, in this part we will use “:” as a separator, we will use awk for select uniqe pattern from file and we will show how to take last word from line.