一行代码:有参数则取参数没有则赋值为前一天 #62
guodongxiaren
started this conversation in
教程
Replies: 0 comments
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Uh oh!
There was an error while loading. Please reload this page.
Uh oh!
There was an error while loading. Please reload this page.
-
day=${1:-`date -d "1 day ago" +%Y%m%d`}
一行代码实现
Beta Was this translation helpful? Give feedback.
All reactions