The UNIX and Linux Forums  
Hello and Welcome from United States to the UNIX and Linux Forums! Thank You for Visiting and Joining Our Global Community.

Go Back   The UNIX and Linux Forums > Top Forums > UNIX for Dummies Questions & Answers
.
google unix.com




View Single Post in the UNIX and Linux Forums - Click on the Thread or Permalink to View Entire Thread -->
  #3 (permalink)  
Old 11-19-2008
Manish4 Manish4 is offline
Registered User
  
 

Join Date: Apr 2008
Posts: 5
use of system date in awk

This is the code i'm using but it is not displayin the date in the report.

BEGIN {
var_hdr3 = "REPORT RUN DATE"
var_date = "date +%m/%d/%Y"
printf "%s %s\n",var_hdr3 ,var_date;

exit 0;
}