grep data from files

Hello

Pls help me i need script for counting number of fails from file .

The file contains number of failuer records .

You'll need to supply more detail than you have to really get a usable response. If the rule is one failure per line, a simple

wc filename

will give you the number of failures.

Cheers,

Keith

This is a duplicate message, there was a message posted for the same with the title "Extract data from file "...

Moderator, could you please close this post....