search for a date and print the contents below the line

view story

http://www.unix.com – Hi, We have a script which takes the backup of some files and writes the output into a log file for each run on a daily basis. Following is the extract from the log file. HTML Code: Date:20120917 ********************************************************** *              BACKUP ACTIVITY STARTED                  * ********************************************************** List of files to be backed up: sample.txt sample1.txt File Name = sample.txt Backup File Name: sample_bkp.txt Begin File Backup at Tue Sep (HowTos)