You're viewing a comment by Alexandre Oberlin and its responses.

February 13, 2017, 18:11

Delete all leading blank lines at the top of a file.
sed '/./,$!d'

The above does not seem to work with dos style newlines (CRLF or 0d0a). Any alternative?

Reply To This Comment

(why do I need your e-mail?)

(Your twitter handle, if you have one.)

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

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