Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations SkipVought on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

want to add the date after the header 1

Status
Not open for further replies.

CALYAN

Programmer
Apr 23, 2001
39
0
0
US
cat /gns/gnsadm/errrpt/gnserrs/reports/ggc1.rpt.$DD$MM | awk -F'|' 'BEGIN{
printf " GTT DATA COMPARISION DAILY " printf "\n"
printf " -------------------------- "
Hi i want to add the date after
printf " GTT DATA COMPARISION DAILY " 05/02/04
I have got the date values in this $DD$MM$YY

how to do?
 
Try this :
[tt]
cat /gns/gnsadm/errrpt/gnserrs/reports/ggc1.rpt.$DD$MM | awk -F'|' 'BEGIN{
print " GTT DATA COMPARISION DAILY '$DD$MM$YY'"
print " -------------------------- "
[/tt]

Jean Pierre.
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top