You're replying to a comment by pandeeswaran.

pandeeswaran Permalink
February 05, 2012, 14:21

sed -n '$=' emulates wc -l only for non empty files.
[code]
pandeeswaran@ubuntu:~/training$ wc -l mail.sh
0 mail.sh
pandeeswaran@ubuntu:~/training$ sed -n '$=' mail.sh
pandeeswaran@ubuntu:~/training$
[/code]

Reply To This Comment

(why do I need your e-mail?)

(Your twitter handle, if you have one.)

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

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