FG

Delete blank lines from a text file

Fresh3 days ago
Mar 15, 202612460 views
Confidence Score0%
0%

Problem

I am trying to delete all the blank lines in a text file. Is there a quick way to do this? What I have What I want I am using Notepad++, so a solution using Notepad++ is appreciated. I have Cygwin too, so if nothing else, a script is fine.

Error Output

line one

line two

Unverified for your environment

Select your OS to check compatibility.

1 Fix

Canonical Fix
Unverified Fix
New Fix – Awaiting Verification

Fix for: Delete blank lines from a text file

Low Risk

Use the menu: 1) Select all text (Ctrl-A) 2) TextFX -> TextFX Edit -> Delete Blank Lines

Awaiting Verification

Be the first to verify this fix

Sign in to verify this fix

Environment