On 3/30/06, Hans Meier (John Doe) <[EMAIL PROTECTED]> wrote:
> Gavin Bowlby am Donnerstag, 30. März 2006 21.45:
> > How about:
> >
> > cat fn | grep <string to be searched for> | wc
>
> When I posted a "cat | grep" the first (and last) time, several people got a
> well known heart attack :-)
>
> grep <string to be searched for> fn | wc
>
> > as a non-Perl approach to the problem...
> [...]
>
> Agreed, but OT here ;-)
>
> Hans

If we are going to pick nits then it should be

grep -c "<employee>" fn

--
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]
<http://learn.perl.org/> <http://learn.perl.org/first-response>


Reply via email to