On Tue, Feb 15, 2011 at 09:49:16PM -0600, Dennis Williamson wrote:
SECS=1275250155
export TZ=EST5EDT
printf %()T\n $SECS
printf %(%e-%b-%Y %T %Z)T\n $SECS # added %Z
result:
15:09:15
30-May-2010 15:09:15 CDT
I can't duplicate your problem on HP-UX 10.20:
imadev:~$ s=1275250155;
On Wed, Feb 16, 2011 at 7:22 AM, Greg Wooledge wool...@eeg.ccf.org wrote:
On Tue, Feb 15, 2011 at 09:49:16PM -0600, Dennis Williamson wrote:
SECS=1275250155
export TZ=EST5EDT
printf %()T\n $SECS
printf %(%e-%b-%Y %T %Z)T\n $SECS # added %Z
result:
15:09:15
30-May-2010 15:09:15 CDT
I
Dennis Williamson dennistwilliam...@gmail.com writes:
When I ran make test I noticed a discrepancy in a couple of the times
output during the printf tests. I pulled out the relevant section and
this is what I get:
LC_ALL=C
LANG=C
SECS=1275250155
export TZ=EST5EDT
printf %()T\n $SECS
When I ran make test I noticed a discrepancy in a couple of the times
output during the printf tests. I pulled out the relevant section and
this is what I get:
LC_ALL=C
LANG=C
SECS=1275250155
export TZ=EST5EDT
printf %()T\n $SECS
printf %(%e-%b-%Y %T %Z)T\n $SECS # added %Z
result:
15:09:15