$ printf --man
NAME
printf - write formatted output
SYNOPSIS
printf [ options ] format [string ...]
...
%T Treat string as a date/time string and format it. The T can be preceded by (dformat),
where dformat is a date format as defined by the date command.
这是:
$ print -v .sh.version
Version AJM 93u+ 2012-08-01
1条答案
按热度按时间h43kikqp1#
看起来
printf
的%T
指令可以像GNU的date -d
一样解析日期时间字符串这是: