源自 nexus的博客 无 find . -name "*.h" -exec sh -c "if ! grep -q 'GNU Lesser General Public License' '{}'; then mv '{}' _tmp_ cp copyinfo.c.h '{}' cat _tmp_ '{}' rm -rf _tmp_; fi" \;
<无>
find . -name "*.h" -exec sh -c "if ! grep -q 'GNU Lesser General Public License' '{}'; then mv '{}' _tmp_ && cp copyinfo.c.h '{}' && cat _tmp_ >> '{}' && rm -rf _tmp_; fi" \;