Created
December 5, 2019 09:24
-
-
Save Eishfaq/989de7864dc533a08542d167b97bb2f7 to your computer and use it in GitHub Desktop.
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| sed -i '/^$/d' list.txt | |
| It will overwrite the file with no blank lines. |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment