You're viewing a comment by Gaurav and its responses.

Gaurav Permalink
May 26, 2012, 07:23

Hi danial use this it will give u correct count

find . -name *.java| awk 'END {print NR}'

when you are using xargs it is taking the count of all content present in side a particular file, that's why it is giving the count of content present in files

Reply To This Comment

(why do I need your e-mail?)

(Your twitter handle, if you have one.)

Type the word "lcd_92": (just to make sure you're a human)

Please preview the comment before submitting to make sure it's OK.