Newsgroups: comp.unix.questions
Path: utzoo!lsuc!dave
From: dave@lsuc.uucp (David Sherman)
Subject: Re: sed script to combine blank lines?
Date: Sun, 16-Oct-88 18:49:47 EDT
Summary: ssp or uniq
Message-ID: <1988Oct16.184949.11396@lsuc.uucp>
References: <192@vlsi.ll.mit.edu> <1520@piraat.cs.vu.nl>
Organization: Law Society of Upper Canada, Toronto

Some versions of UNIX (including 4.1BSD) include a program
call ssp(1) which does this; it's a bit faster than the
parallel awk script.

Also, if you know your text doesn't contain duplicate lines
(nroff output almost always qualifies, for example), good
old uniq(1) will do it.

David Sherman
-- 
{ uunet!attcan  att  pyramid!utai  utzoo } !lsuc!dave
