Daily Archives: May 14, 2024

Use sed to replace last character after matching a line

If you are a coder like me we tend to discover after we have made a script that we need to change something on multiple lines. Recently I have a script whereby added a “log_message” function which would echo a … Continue reading

Posted in Command Line FU | Tagged , , | Leave a comment