Skip to content

Instantly share code, notes, and snippets.

@galois17
Created December 11, 2013 22:14
Show Gist options
  • Save galois17/7919429 to your computer and use it in GitHub Desktop.
Save galois17/7919429 to your computer and use it in GitHub Desktop.
Delete blank lines
sed "/^[[:space:]]*$/d" orig.txt > target.txt
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment