or:

sed -e "s/Nessus Scan Report/Nessus Scan Report (`date '+%d %B %Y'`)/" 
name_of_report.html > modified_report.html

then:

mv modified_report.html original_report_name.html

-----Original Message-----
From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] Behalf Of John Scherff
Sent: Wednesday, May 16, 2007 11:29 AM
To: Nate Beck
Cc: [email protected]
Subject: FW: Date at the top of report


After the report is produced...

sed -i "s/\(class=title.Nessus Scan Report\)/\1 - `date '+%d %B %Y'`/" 
name_of_report.html 

-John Scherff 

From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] On Behalf Of Nate Beck
Sent: Wednesday, May 16, 2007 8:10 AM
To: [email protected]
Subject: Date at the top of report


Does anyone know of a way to embed the date of the scan at the top of a html 
report?
 
Thanks
 
Nate Beck
Sr. IT Network Engineer
WebTrends Inc.

This message may contain confidential or proprietary information and is 
intended solely for the individual(s) to whom it is addressed.  If you are not 
a named addressee you should not disseminate, distribute or copy this e-mail or 
act upon the information contained herein.  Please notify the sender 
immediately by e-mail if you have received this e-mail by mistake and delete 
this e-mail from your system.

_______________________________________________
Nessus mailing list
[email protected]
http://mail.nessus.org/mailman/listinfo/nessus

Reply via email to