Re: Grep Text File for Lines Containing 1 or 2 Words

From: A. Sinan Unur (1usa_at_llenroc.ude.invalid)
Date: 01/25/05


Date: Tue, 25 Jan 2005 22:38:23 GMT


"Buck Turgidson" <jc_va@hotmail.com> wrote in news:qhric2-maa.ln1
@turf.turgidson.com:

> Looking for help in writing a perl that will pull from a text file those
> lines containing one or two "words". I want to reject any line that
> contains more than 2 words (a sentence).
>
> Appreciate any help from text processing experts.

What have you done so far?

This is a good time to read the posting guidelines for this group and
follow them in your next post.

Sinan.