Awk - add a line, if and only if this line does not already exist
47615
Awk: if pattern not found add some text at the end of file
12278
How to select lines between two marker patterns which may occur multiple times with awk/sed
158267
Insert text in specific lines of a file
156045
How do I grep for lines containing either of two words, but not both?
139283
update line based on previous line
2558
Fast way of finding lines in one file that are not in another?
137823
Awk: compare two files
35143
Make rows into column with awk or sed
77455
Only inserting a row if it's not already there
39925
Insert a new line after every N lines?
51721
How to use awk to print nth column and remove duplicates?
90779
awk, sed, or other text processing suggestions, please
2902
external variable in awk
14252
How to represent multiple conditions in a shell if statement?
125773
Using awk to print part of one column plus additional columns
134283
Identify duplicate lines in a file without deleting them?
53151
How to concatenate all lines from a file in Bash?