https://programmingprojects.fyi/posts/grep/
Build Your Own grep Command Line Tool