- 博客(1)
- 收藏
- 关注
原创 shell 递归遍历文件夹 对文件行首和末尾进行修改
功能: 递归遍历文件夹下的cs文件或者lua文件,并对文件的行首或者末尾插入代码#!/bin/bash str="" luafile=false csfile=false dfs(){ #echo $1 for file in $1/* do if [ -d $file ] then dfs $file elif [ -f $file ] then #文件...
2018-07-10 13:35:28 401
空空如也
空空如也
TA创建的收藏夹 TA关注的收藏夹
TA关注的人