小编c10*_*c10的帖子

了解命令的输出: date -d "12:24 <小写字母>"

有人可以帮助我理解为什么添加任何小写字母 (az) 如下所示会对 date -d 输出产生影响,以及该命令中的这些字母是什么意思?

\n
wip$ date -d "12:24 a"\nMon Apr 18 18:54:00 IST 2022\nwip$ date -d "12:24 b"\nMon Apr 18 19:54:00 IST 2022\nwip$ date -d "12:24 c"\nMon Apr 18 20:54:00 IST 2022\nwip$ date -d "12:24 d"\nMon Apr 18 21:54:00 IST 2022\nwip$ date -d "12:24 e"\nMon Apr 18 22:54:00 IST 2022\nwip$ date -d "12:24 f"\nMon Apr 18 23:54:00 IST 2022\nwip$ date -d "12:24 g"\nTue Apr 19 00:54:00 IST 2022\nwip$ date -d "12:24 h"\nTue Apr 19 01:54:00 IST 2022\nwip$ …
Run Code Online (Sandbox Code Playgroud)

command-line time date coreutils

12
推荐指数
1
解决办法
855
查看次数

标签 统计

command-line ×1

coreutils ×1

date ×1

time ×1