Skip to content

Instantly share code, notes, and snippets.

@neulaender
Created March 28, 2016 18:32
Show Gist options
  • Save neulaender/9cfd4566985a6667558b to your computer and use it in GitHub Desktop.
Save neulaender/9cfd4566985a6667558b to your computer and use it in GitHub Desktop.
Remove empty lines from output/input in bash/zsh.
grep -v '^$' #remove empty lines
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment