Skip to content
This repository was archived by the owner on Sep 15, 2024. It is now read-only.

Latest commit

 

History

History
14 lines (10 loc) · 469 Bytes

File metadata and controls

14 lines (10 loc) · 469 Bytes

megrep

multiple/many egrep

(e)greps for a file for multiple regexp patterns. If all have a match megrep returns 0, otherwise 1. On error it returns 2 or greater. That’s it.

It may be useful in shell scripts. Who knows?

Note

This project was created out of curiosity and one-time-need for such tool. Don’t expect any frequent updates. You can raise an issue if you think there’s a problem, bug or whatever.