I know this question has been asked before but the proposed solutions don't work for me.
I'm trying to find the string "modelInstance.addObservers" in any file (ideally any file with the .js ending, but it's fine without this filter too) in the current directory and all subdirectories. Here's what I tried:
grep -rl "modelInstance.addObserver" .
It behaves as if the statement is incomplete, because it keeps printing blank lines when I hit
enter. What is the problem?
I'm on mac.