[PLUG] Paragraph Counting Script

Rich Shepard rshepard at appl-ecosys.com
Mon Jul 13 22:50:17 UTC 2009


On Mon, 13 Jul 2009, Joe Pruett wrote:

> i think that:
>
> awk 'BEGIN{RS=""}END{print NR}'
>
> will give you what you want.

Joe,

   Of course! I was thinking regex and wc, and totally forgot about awk.
Thank you very much.

Rich

-- 
Richard B. Shepard, Ph.D.               |  Integrity            Credibility
Applied Ecosystem Services, Inc.        |            Innovation
<http://www.appl-ecosys.com>     Voice: 503-667-4517      Fax: 503-667-8863



More information about the PLUG mailing list