How to configure 'grep' to ignore 'No such file or directory
Hi,
When I try 'grep' like this 'grep -r Test .', I get a lot of errors 'No such file or directory'.
Example:
grep: ./frameworks/opt/com.google.android/.git/packed-refs: No such file or directory
grep: ./frameworks/opt/com.google.android/.git/rr-cache: No such file or directory
grep: ./frameworks/opt/com.google.android/.git/svn: No such file or directory
Can you please tell me how can I configure grep to ignore those errors?
Thank you.
|