会员
周边
众包
新闻
博问
闪存
所有博客
当前博客
我的博客
我的园子
账号设置
简洁模式
...
退出登录
注册
登录
葫芦杯
博客园
首页
新随笔
联系
管理
订阅
2022年9月14日
shell 判断给定日期是否是月底
摘要: #!/bin/bash datebeg=$1 dateend=$2 set -e beg_s=` date -d "$datebeg" +%s` end_s=` date -d "$dateend" +%s` while((end_s>=beg_s)) do incdate=`date -d @$b
阅读全文
posted @ 2022-09-14 17:26 葫芦杯
阅读(127)
评论(0)
推荐(0)
编辑
公告