2 Star 5 Fork 4

MyTony/wizard-scripts

加入 Gitee
与超过 1200万 开发者一起发现、参与优秀开源项目,私有仓库也完全免费 :)
免费加入
该仓库未声明开源许可证文件(LICENSE),使用请关注具体项目描述及其代码上游依赖。
克隆/下载
find-in-jar 273 Bytes
一键复制 编辑 原始数据 按行查看 历史
南山一脚 提交于 2017-04-09 09:25 . add all scripts
#!/bin/bash
find . -name "*.jar" > /tmp/find_in_jar_temp
while read line
do
if unzip -l $line | grep $1 &> /tmp/find_in_jar_temp_second
then
echo $line | sed 's#\(.*\)#\x1b[1;31m\1\x1b[00m#'
cat /tmp/find_in_jar_temp_second
fi
done < /tmp/find_in_jar_temp
马建仓 AI 助手
尝试更多
代码解读
代码找茬
代码优化
1
https://gitee.com/my_tony/wizard-scripts.git
git@gitee.com:my_tony/wizard-scripts.git
my_tony
wizard-scripts
wizard-scripts
master

搜索帮助