delorie.com/archives/browse.cgi   search  
Mail Archives: cygwin/2015/10/21/14:01:56

X-Recipient: archive-cygwin AT delorie DOT com
DomainKey-Signature: a=rsa-sha1; c=nofws; d=sourceware.org; h=list-id
:list-unsubscribe:list-subscribe:list-archive:list-post
:list-help:sender:mime-version:content-type
:content-transfer-encoding:date:from:to:subject:in-reply-to
:references:message-id; q=dns; s=default; b=wVj5/Xf8sjlwXk1Mxj2K
/d8mDEI3ZiYOChIru4judlOSCckYXZfym8FvvcHqBWECABHiS+JA/Su+RcMdPeiT
yWUINfzcQKCPIiFZtMVba0wA+r+QD9nnaNmsmBV/QnqUAdKtMiynRGZffV4WtXnm
LWxDaWsw+uLF1cPvEMqS3LM=
DKIM-Signature: v=1; a=rsa-sha1; c=relaxed; d=sourceware.org; h=list-id
:list-unsubscribe:list-subscribe:list-archive:list-post
:list-help:sender:mime-version:content-type
:content-transfer-encoding:date:from:to:subject:in-reply-to
:references:message-id; s=default; bh=yPRPnW59QO2GLrYjlj4yL7X3rL
k=; b=y7avZbtu6QpYcdNIGtfuPC+X9a7UtpqOuVgZi895kjETcECuJBJ9MRSlei
ruutksmi9/oXPLZ07IbzJkMHEP97yuGbPrL2NhGyFUfPdwQAs158f5bfgPSR1nbV
pLRUR4d/Mf711rPRqDOQlbAimwLzNsXNTkO3b1hZYc5MC3BC0=
Mailing-List: contact cygwin-help AT cygwin DOT com; run by ezmlm
List-Id: <cygwin.cygwin.com>
List-Subscribe: <mailto:cygwin-subscribe AT cygwin DOT com>
List-Archive: <http://sourceware.org/ml/cygwin/>
List-Post: <mailto:cygwin AT cygwin DOT com>
List-Help: <mailto:cygwin-help AT cygwin DOT com>, <http://sourceware.org/ml/#faqs>
Sender: cygwin-owner AT cygwin DOT com
Mail-Followup-To: cygwin AT cygwin DOT com
Delivered-To: mailing list cygwin AT cygwin DOT com
Authentication-Results: sourceware.org; auth=none
X-Virus-Found: No
X-Spam-SWARE-Status: No, score=1.5 required=5.0 tests=BAYES_50,KAM_INFOUSMEBIZ,SPF_PASS autolearn=no version=3.3.2
X-HELO: smtp.effishiency.com
MIME-Version: 1.0
Date: Wed, 21 Oct 2015 11:01:18 -0700
From: Don Harrop <don AT effx DOT us>
To: cygwin AT cygwin DOT com
Subject: Bash unable to print epoch timestamp
In-Reply-To: <CAK8bTDf1GSghZWKF2a7dZQUfCyrLLZPynyP2jp665Bf1wr4bfw@mail.gmail.com>
References: " <CAK8bTDd03FSEaUYmAk7pQ39hJoYP2oZJO1Fpz76CHv7r3AmE7w AT mail DOT gmail DOT com>" <874mhktbrc DOT fsf AT Rainer DOT invalid> <CAK8bTDf1GSghZWKF2a7dZQUfCyrLLZPynyP2jp665Bf1wr4bfw AT mail DOT gmail DOT com>
Message-ID: <407e54b7b3aae212e526a471f971a794@effx.us>
X-Sender: don AT effx DOT us
User-Agent: Roundcube Webmail/1.0.1
X-IsSubscribed: yes

Bash outputs no value when using it's built in method of printing an 
"epoch" timestamp.

BashCommandLine#: printf '%(%s)T' -1

I've verified the same behavior with others on IRC.

Below are my relevant pieces of cygcheck.exe -s

Windows 7 Enterprise Ver 6.1 Build 7601 Service Pack 1

Cygwin DLL version info:
     DLL version: 2.2.1
     DLL epoch: 19
     DLL old termios: 5
     DLL malloc env: 28
     Cygwin conv: 181
     API major: 0
     API minor: 289
     Shared data: 5
     DLL identifier: cygwin1
     Mount registry: 3
     Cygwin registry name: Cygwin
     Installations name: Installations
     Cygdrive default prefix:
     Build date:
     Shared id: cygwin1S5

Package                  Version            Status
bash                     4.3.42-3           OK
base-cygwin              3.8-1              OK
base-files               4.2-3              OK
cygwin                   2.2.1-1            OK
util-linux               2.25.2-2           OK


Cheers!
  - Don

--
Problem reports:       http://cygwin.com/problems.html
FAQ:                   http://cygwin.com/faq/
Documentation:         http://cygwin.com/docs.html
Unsubscribe info:      http://cygwin.com/ml/#unsubscribe-simple

- Raw text -


  webmaster     delorie software   privacy  
  Copyright © 2019   by DJ Delorie     Updated Jul 2019