摘要:
ls *asp*|while read file;do real=$file; file=${file/./};file=${file/\?/};file=${file/=/};file=${file/&/};file=$file".html";find ./ -name "*.asp*" -exec sed -i "s/$real/$file/g" {} \;;find ./ -name "*.html" -exec sed -i "s/$real/$file/g" {} \;; mv 阅读全文
摘要:
ctrl + F5 阅读全文
摘要:
findhttp://www.baidu.com/cnc=${a//\//\\/}echo $chttp:\/\/www.baidu.com\/cncontent='f'echo 'fefew $f'--->sorry you need to echo "fefe $f"read -p "Content:" content content=${content//\//\\/} echo $content read -p "Replace:" replace find ./ -name " 阅读全文