[OS X TeX] Delete

Herbert Schulz herbs at wideopenwest.com
Mon Sep 9 13:31:30 EDT 2013


On Sep 9, 2013, at 12:23 PM, George Gratzer <gratzer at me.com> wrote:

> I would like to delete from the ms all cr, cr (two new line characters, adjacent).
> 
> How do I do it? Silly question?
> 
> GG


Howdy,

Hmmm... ms? Mail Server? And do you really want to delete both new lines or replace two by a single new line?

If ms is a simple text file you can open it in TeXShop and then, using the Ogrekit Find Panel set for Regular Expressions (regex) set Find to

\n\n

and set Replace to

\n

and the Replace All.

Good Luck,

Herb Schulz
(herbs at wideopenwest dot com)





More information about the MacOSX-TeX mailing list