This Python utility provides two functions for inserting lines into configuration files:
insert_lines
regex_insert_lines
These functions allow for precise and flexible modification of text files, particularly useful for updating configuration files in networking and system administration tasks.
insert_lines
: Inserts specified lines into a file before or after a line that starts with a given string.