This is the mail archive of the
cygwin
mailing list for the Cygwin project.
Bash unable to print epoch timestamp
- From: Don Harrop <don at effx dot us>
- To: cygwin at cygwin dot com
- Date: Wed, 21 Oct 2015 11:01:18 -0700
- Subject: Bash unable to print epoch timestamp
- Authentication-results: sourceware.org; auth=none
- References: " <CAK8bTDd03FSEaUYmAk7pQ39hJoYP2oZJO1Fpz76CHv7r3AmE7w at mail dot gmail dot com>" <874mhktbrc dot fsf at Rainer dot invalid> <CAK8bTDf1GSghZWKF2a7dZQUfCyrLLZPynyP2jp665Bf1wr4bfw at mail dot gmail dot com>
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