Adding a leading zero
Adding a leading zero
- Subject: Adding a leading zero
- From: <email@hidden>
- Date: Wed, 4 Apr 2007 21:24:09 +0200
- Thread-topic: Adding a leading zero
Hi all,
I am using this line to extract the modification date of a file
ls -lT /Users/gunno/Library/Preferences/Flexklockan.plist | awk '{print $6 $7 $9}'
The result is Apr42007
How can I add a leading zero to the day digit?
Or is there another and better way to get the modiicaion date?
(Don't want to use /Developer/Tools/GetFileInfo)
Thanks in advance
Gunno I
_______________________________________________
Do not post admin requests to the list. They will be ignored.
AppleScript-Users mailing list (email@hidden)
Help/Unsubscribe/Update your Subscription:
Archives: http://lists.apple.com/archives/applescript-users
This email sent to email@hidden