on-internet
← Community

How to remove starting newlines or the starting new from a binary file?

Stack Overflow ·

I see there are discussions about removing trailing newlines: How can I delete a newline if it is the last character in a file? But, I don't find a discussion about removing starting newlines. What is the best way to delete starting newlines (one-liner preferred)?

Comments

Sign in or sign up to comment and upvote.

No comments yet.