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: nessus-bounces@list.nessus.org [mailto:nessus-bounces@list.nessus.org]On
Behalf Of John Scherff
Sent: Wednesday, May 16, 2007 11:29 AM
To: Nate Beck
Cc: nessus@list.nessus.org
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: nessus-bounces@list.nessus.org [mailto:nessus-bounces@list.nessus.org] On
Behalf Of Nate Beck
Sent: Wednesday, May 16, 2007 8:10 AM
To: nessus@list.nessus.org
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
Nessus@list.nessus.org
http://mail.nessus.org/mailman/listinfo/nessus
|