delorie.com/archives/browse.cgi | search |
X-Authentication-Warning: | delorie.com: mail set sender to geda-user-bounces using -f |
X-Recipient: | geda-user AT delorie DOT com |
Date: | Tue, 14 Jul 2015 17:26:22 +0200 (CEST) |
X-X-Sender: | igor2 AT igor2priv |
To: | "Peter Stuge (peter AT stuge DOT se) [via geda-user AT delorie DOT com]" <geda-user AT delorie DOT com> |
X-Debug: | to=geda-user AT delorie DOT com from="gedau AT igor2 DOT repo DOT hu" |
From: | gedau AT igor2 DOT repo DOT hu |
cc: | geda-developers AT lists DOT launchpad DOT net |
Subject: | Re: [geda-user] Re: geda-gaf on FreeBSD and probably other |
architectures | |
In-Reply-To: | <20150714143415.18024.qmail@stuge.se> |
Message-ID: | <alpine.DEB.2.00.1507141725200.6924@igor2priv> |
References: | <20150714103959 DOT GA17565 AT localhost DOT localdomain> <20150714140911 DOT GA18818 AT localhost DOT localdomain> <20150714143415 DOT 18024 DOT qmail AT stuge DOT se> |
User-Agent: | Alpine 2.00 (DEB 1167 2008-08-23) |
MIME-Version: | 1.0 |
Reply-To: | geda-user AT delorie DOT com |
Errors-To: | nobody AT delorie DOT com |
X-Mailing-List: | geda-user AT delorie DOT com |
X-Unsubscribes-To: | listserv AT delorie DOT com |
On Tue, 14 Jul 2015, Peter Stuge (peter AT stuge DOT se) [via geda-user AT delorie DOT com] wrote: > Vladimir Zhbanov (vzhbanov AT gmail DOT com) [via geda-user AT delorie DOT com] wrote: >> 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)))}' > .. >> Which would be better to use? > > Does the awk program work also with GNU awk -c and/or awk on OS X and *BSD? That would only convert a "not all systems have GNU date (or GNU binutils) by default" problem into a "not all systems have GNU awk" problem, IMO.
webmaster | delorie software privacy |
Copyright © 2019 by DJ Delorie | Updated Jul 2019 |