I have a scenario that a csv file has the values of :

```
abcd FAILURE 7
abcd SUCCESS 12
efgh SUCCESS 3
efgh FAILURE 5
mnop SUCCESS 6
mnop SUCCESS 4
abcd FAILURE 5
efgh SUCCESS 2
mnop SUCCESS 1
abcd FAILURE 7
mnop SUCCESS 3
abcd FAILURE 5
```

Initial grep with abcd/efgh/mnop with failure or success condition then i need a value of the matching conditions addition

i need the required output like this please help me

for example :

```
abcd FAILURE 7
abcd FAILURE 5
abcd FAILURE 7
abcd FAILURE 5
--------------------
abcd FAILURE **24**
abcd SUCCESS 12
------------------
abcd SUCCESS **12**
```

but i dont want to give any static string in condition.

thanks in advance.