A command line tool written in Odin to find files and file contents matching (Odin) regex patterns.
Print the usage help:
wo -hFind all files ending with .py:
wo ".py$"Find all files ending with .py but exclude files in the folder .venv:
wo ".py$" -e:".venv"In all files ending with .py but excluding files in the folder .venv, find lines containing def:
wo ".py$" -e:".venv" -c:"def"In all files ending with .py, find lines containing def:
wo ".py$" -c:"def"Run
./build.shto get the executable wo.
Symlink the executable to /usr/local/bin to make it available on PATH:
sudo ln -s $PWD/wo /usr/local/bin