bump product version to 5.0.4.1
[LibreOffice.git] / bin / find-unused-defines.awk
blob2649e41d05346130bb97502fbfd6975e3f8c8ad9
2 x++
3 y=$0
6 END {
7 tmp = substr(y, 0, index(y, ":"))
8 if (x==1) print "sed -i '/[[:space:]]" p1 "[[:space:]]/d' " tmp
14 # | xargs -P 4 -Ixxx sh -c "git grep -w 'xxx' | awk '{ x++; y=\$0 } END { if (x==1) print y }' && echo \"xxx\" 1>&2"
16 # sed -i '' '/pattern/d'
17 # | awk 'arr[$0]++ END { for (i in arr) { if(arr[i]==1) print i } }' \
18 # | awk -f find-unused-defines.awk