Let us find tech solutions together
By kinabalu | Comments
With a little help from freenode folks in ##java and #awk .. I’ve got a one liner which will give you a word count for your resource bundle files:
1 grep -vE '^#' YourResourceBundle.properties | cut -d = -f 2 | wc -w
1
grep -vE '^#' YourResourceBundle.properties | cut -d = -f 2 | wc -w
whew.