Using /bin/bash on RHEL 5.8 and I want to automate editing a file. I need the script to search the file and replace a line in the file. Line example:
Other line Current date 01121990 Other line
Search for this line and replace the date string with a predetermined date. I can't echo to a new file and enter in my date since this file will be copied from a server-specific file. Thanks!