You're viewing a comment by Holy Penguin and its responses.

April 15, 2014, 07:33

Do it ike this:
i=0;cat foo.txt | (while read line; do ((i++)); done; echo "$i")

Reply To This Comment

(why do I need your e-mail?)

(Your twitter handle, if you have one.)

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

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