Skip site navigation (1)Skip section navigation (2)
Date:      Wed, 15 Nov 2006 15:24:34 +0000
From:      "N.J. Mann" <njm@njm.f2s.com>
To:        freebsd-questions@freebsd.org
Subject:   Re: Another FBSD utility/script question
Message-ID:  <20061115152434.GA78325@ariel.njm.f2s.com>
In-Reply-To: <BAY125-F286DA27532386320B32DBECCEA0@phx.gbl>
References:  <BAY125-F286DA27532386320B32DBECCEA0@phx.gbl>

next in thread | previous in thread | raw e-mail | index | archive | help
On Wed 15 Nov 09:17, Jack Stone wrote:
> Here I come with another easy one for most on the list -- except for me.
> 
> I have 12,000 plus lines that have an empty line in between each real line, 
> like so:
[...]

grep -v '^$'


Cheers,
       Nick.
-- 
"With sufficient thrust, pigs fly just fine.  However, this is not
necessarily a good idea.  It is hard to be sure where they are going to
land, and it could be dangerous sitting under them as they fly overhead."
 -- RFC 1925



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?20061115152434.GA78325>