Home > Archive > AWK > April 2006 > awk question
You are viewing an archived Text-only version of the thread.
To view this thread in it's original format and/or if you want to reply to
this thread please [click here]
|
|
| rogv24@yahoo.com 2006-04-03, 6:57 pm |
| I enter the date command, and it will display April 3.
How can I change that to show April 03.
I would assume to check if the field is one digit add a leading zero.
thanks
| |
| Ed Morton 2006-04-03, 6:57 pm |
| rogv24@yahoo.com wrote:
> I enter the date command, and it will display April 3.
> How can I change that to show April 03.
> I would assume to check if the field is one digit add a leading zero.
> thanks
>
This sounds like a date question, not an awk question. Just use the
correct date output format. man date.
Ed.
| |
| rogv24@yahoo.com 2006-04-03, 6:57 pm |
| Thanks I was able to adust the date field to:
date '+ %b %d' > mydate
| |
| rogv24@yahoo.com 2006-04-06, 6:57 pm |
| Thanks I was able to adust the date field to:
date '+ %b %d' > mydate
|
|
|
|
|