Getting Word Count in Java Resource Bundle .properties files

by kinabalu on April 20, 2006

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:

grep -vE '^#' YourResourceBundle.properties | cut -d = -f 2 | wc -w

whew.

Share this:
  • Digg
  • DZone
  • Facebook
  • Technorati
  • LinkedIn
  • del.icio.us
  • Google Bookmarks
  • E-mail this story to a friend!
  • TwitThis

Leave a Comment

Previous post:

Next post: