shell处理字符串记录
来源:互联网 发布:ds1100k 网络键盘 编辑:程序博客网 时间:2024/06/02 13:45
#!bin/sh
#时间
dat=`date '+%Y%m%d'`;
#恢复./下的程序
for i in `find ./* -name *.$dat`
do
len=`expr length $i`;
newlen=`expr $len - 9`;
newstr=`expr substr $i 1 $newlen`;
echo $newstr;
if test -f $i.$dat;then
cp $i $newstr;
fi
done
- shell处理字符串记录
- shell字符串处理
- shell的字符串处理
- Shell处理字符串方法
- shell字符串处理
- shell 字符串处理
- Shell的字符串处理
- Shell的字符串处理
- Shell的字符串处理
- shell的字符串处理
- shell 字符串处理
- shell 字符串处理
- shell 字符串处理
- shell字符串处理相关
- shell字符串处理
- shell 字符串处理汇总
- shell编程字符串处理
- shell 字符串处理
- Java位运算符号操作
- 基于prototype的动态加载js的一个类
- SSIS压缩文件并以邮件附件发送
- Sql语句学习指南
- Spring中quartz的简单例子
- shell处理字符串记录
- Hibernate中Criteria的完整用法
- 营销数据库的建设——应用洞察最大化客户价值的源动力(转)
- CRUD 是什么
- 汇编语言发展树
- QClub:敏捷在互联网时代产品研发中的实践(12.27 深圳)
- 平凡的母亲
- 在Virtualbox中安装xp导致CPU占用率100%
- java mail 简单示例