Huh, I was going to say use Process Lines Containing, but search for ^$ and 
select Grep and Delete matched lines — saves the copying & pasting step.

But BBEdit isn’t finding the blank lines.  ^$ does work in the normal Find 
dialog.

Cheers


> On 2021-01-14, at 12:04, Neil Faiman <[email protected]> wrote:
> 
> Edit > Process Lines Containing ...
> 
> In the dialog box, Find lines containing: . (a single period character), 
> check "Grep", check "Copy to clipboard", Click "Process".
> 
> Now the clipboard contains all the non-blank lines from the document (i.e., 
> all the lines containing any character), so Cmd-A, Cmd-V (Select All, Paste) 
> will replace the document contents with the non-blank lines.

-- 
This is the BBEdit Talk public discussion group. If you have a feature request 
or need technical support, please email "[email protected]" rather than 
posting here. Follow @bbedit on Twitter: <https://twitter.com/bbedit>
--- 
You received this message because you are subscribed to the Google Groups 
"BBEdit Talk" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to [email protected].
To view this discussion on the web visit 
https://groups.google.com/d/msgid/bbedit/4B9B0AA2-D814-49BF-AEBF-249B46D40246%40gmail.com.

Reply via email to