Datasheet

This will only search files ending in .c or .h
You can also exclude certain file types with the --exclude flag:
$ grep --exclude=*.o -rnw "./" -e "SEARCH_PATTERN"
This will exclude all files ending in .o from the search.
© Adafruit Industries https://learn.adafruit.com/adafruit-nrf52-pro-feather Page 79 of 87