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

Shoilen Permalink
October 21, 2011, 11:40

Please read as

sed -n '$=' Myfile

the result is 5 however it should be 4.

Comment Responses

Anirudh Permalink
January 31, 2016, 14:03
sed -n '$!=' yourfile | sed -e '$!d'

Reply To This Comment

(why do I need your e-mail?)

(Your twitter handle, if you have one.)

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

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