Skip to content

Instantly share code, notes, and snippets.

@matejb
Created August 7, 2020 11:03
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save matejb/4a96ce0ff733f498145e9f52c41b77a4 to your computer and use it in GitHub Desktop.
Save matejb/4a96ce0ff733f498145e9f52c41b77a4 to your computer and use it in GitHub Desktop.
remove extra lines
sed '/^$/N;/^\n$/D'
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment