On 7/14/2015 10:11 AM, Peter TB Brett wrote:
On 2015-07-14 15:09, Vladimir Zhbanov wrote:
OK, the line in question was
d=`LANG=C date -d $(DATE_VERSION) "+%B %-d, %Y"` ; \
I've written two scripts, one is combination of sed and awk:
echo DATE_VERSION | sed 's/\(....\)\(..\)\(..\)/\1 \2 \3 00 00 00/' |
LANG=C awk '{print (strftime ("%B %-d, %Y",
mktime ($0)))}'
I'm a little late on this but do all awk's (like solaris awk) support
strftime? Or will this push the "must use gmake" problem over to a
"must use gawk" one?
-Dan
--
Mailing list: https://launchpad.net/~geda-developers
Post to : [email protected]
Unsubscribe : https://launchpad.net/~geda-developers
More help : https://help.launchpad.net/ListHelp