Ai
2 Star 7 Fork 27

LicheePiNano/Linux

加入 Gitee
与超过 1200万 开发者一起发现、参与优秀开源项目,私有仓库也完全免费 :)
免费加入
文件
克隆/下载
documentation-file-ref-check 395 Bytes
一键复制 编辑 原始数据 按行查看 历史
RobotFly 提交于 2020-06-22 14:02 +08:00 . 初始化荔枝派nano的诶和源码
#!/bin/sh
# Treewide grep for references to files under Documentation, and report
# non-existing files in stderr.
for f in $(git ls-files); do
for ref in $(grep -ho "Documentation/[A-Za-z0-9_.,~/*+-]*" "$f"); do
# presume trailing . and , are not part of the name
ref=${ref%%[.,]}
# use ls to handle wildcards
if ! ls $ref >/dev/null 2>&1; then
echo "$f: $ref" >&2
fi
done
done
Loading...
马建仓 AI 助手
尝试更多
代码解读
代码找茬
代码优化
1
https://gitee.com/LicheePiNano/Linux.git
git@gitee.com:LicheePiNano/Linux.git
LicheePiNano
Linux
Linux
master

搜索帮助