[CS-FSLUG] An easy way to remove blank lines?

Ed Hurst ehurst at asisaid.com
Sat Sep 10 08:53:28 CDT 2005


Jukka wrote:

> Ed's tip was to search two newlines and replace them with a single
> newline with editors serch/replace-function. I tried it with Kate and
> KWrite, but even they understand regular expressions, they did not
> remove newlines. For some reason they could not find even a single hit
> ??

Is the file in Unix format? If not, the newline code will be a
combination of newline and carriage-return. If it comes from a Mac, it
will be only a carriage-return.

-- 
Ed Hurst
-----------
Applied Bible -- http://users.tconline.net/~softedges/
Plain & Simple Computer Help -- http://ed.asisaid.com/
Plain Package blog -- http://ed.asisaid.com/blog/




More information about the Christiansource mailing list