bug-bash
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

RFE: printf '%(fmt)T' prints current time by default


From: Clark WANG
Subject: RFE: printf '%(fmt)T' prints current time by default
Date: Wed, 14 Nov 2012 11:00:18 +0800

In ksh:

$ printf '%(%F %T)T\n'
2012-11-14 10:57:26
$

In bash:

$ printf '%(%F %T)T\n'
1970-01-01 08:00:00
$

I think the ksh behavior is makes more sense so can we use the current time
as the default?

-Clark


reply via email to

[Prev in Thread] Current Thread [Next in Thread]