You're replying to a comment by daniel.

daniel Permalink
March 14, 2012, 05:04

Great articles!
However I tried this in my workspace:

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

hoping to get the total line number of all java files...

The output I got was:


I don't know why it got multiple numbers

and when I tried wc -l, the total line number was:246911...
any idea?

Reply To This Comment

(why do I need your e-mail?)

(Your twitter handle, if you have one.)

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

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