On Sat, Apr 5, 2014 at 12:24 PM, Janis Papanagnou
<[email protected]> wrote:
> Please note the empty output lines of commands that previously showed
> output...
>
> $ printf "%(%Z)T\n"
> CEST
> $ TZ=GMT printf "%(%Z)T\n"
> GMT
> $ printf "%(%Z)T\n"
> CEST
> $ TZ= printf "%(%Z)T\n"
>
> $ printf "%(%Z)T\n"
>
> $ TZ=UTC printf "%(%Z)T\n"
>
> $ printf "%(%Z)T\n"
>
> $ TZ=GMT printf "%(%Z)T\n"
>
> $ printf "%(%Z)T\n"
>
>
> Version JM 93t+ 2010-03-05 (on Linux 2.6.32)
>
> Is that a bug in the (old) ksh version I use, and fixed in the current one?

Random thought: Any printf %argument requires an argument to be
passed, so you want
printf '%T' now
instead of
print '%T'

Irek
_______________________________________________
ast-users mailing list
[email protected]
http://lists.research.att.com/mailman/listinfo/ast-users

Reply via email to