Diffstat (limited to 'bin/count-src-resources')
1 files changed, 11 insertions, 0 deletions
diff --git a/bin/count-src-resources b/bin/count-src-resources
new file mode 100755
@@ -0,0 +1,11 @@
+# This file is part of the LibreOffice project.
+# This Source Code Form is subject to the terms of the Mozilla Public
+# License, v. 2.0. If a copy of the MPL was not distributed with this
+# file, You can obtain one at http://mozilla.org/MPL/2.0/.
+# Run this from the source root dir to count the number of remaining .src resources
+git ls-files *.src | xargs grep -ohE '^[a-zA-Z]+[ ]+[a-zA-Z_0-9]+' | cut -f 1 -d ' ' | sort | uniq -c | sort -n