![]() |
Hello and Welcome from United States to the UNIX and Linux Forums! Thank You for Visiting and Joining Our Global Community.
|
|
google unix.com
|
|||||||
| Forums | Register | Forum Rules | Links | Albums | FAQ | Members List | Calendar | Search | Today's Posts | Mark Forums Read |
| UNIX for Dummies Questions & Answers If you're not sure where to post a UNIX or Linux question, post it here. All UNIX and Linux newbies welcome !! |
More UNIX and Linux Forum Topics You Might Find Helpful
|
||||
| Thread | Thread Starter | Forum | Replies | Last Post |
| Compare date from db2 table to yesterday's Unix system date | sasaliasim | Shell Programming and Scripting | 9 | 12-01-2008 11:37 PM |
| using system date in awk | Manish4 | UNIX for Dummies Questions & Answers | 1 | 11-18-2008 03:23 AM |
| awk system date with -d option | arag0rn | Shell Programming and Scripting | 3 | 01-05-2008 03:23 PM |
| system date | Prafulla | UNIX for Dummies Questions & Answers | 1 | 02-01-2002 06:42 AM |
| file date vs. system date | ober5861 | UNIX for Dummies Questions & Answers | 8 | 09-11-2001 02:36 PM |
![]() |
|
|
LinkBack | Thread Tools | Search this Thread | Rate Thread | Display Modes |
|
||||
|
In that code awk has no way of knowing that "REPORT RUN DATE" is a string, but "date +%m/%d/%Y" is a command, so you need to handle them differently.
Try this: Code:
"date +%m/%d%y" | getline var_date |
| Sponsored Links | ||
|
|