For example, I run a command like:
grep -r "MACOSX_PACKAGE_LOCATION" . --include "CMakeLists.txt"
and get:
/qtdoc/examples/demos/photosurface/CMakeLists.txt: MACOSX_PACKAGE_LOCATION "Resources")
./qtwebengine/src/core/api/CMakeLists.txt: PROPERTIES MACOSX_PACKAGE_LOCATION Resources/qtwebengine_locales
./qtwebengine/src/core/api/CMakeLists.txt: PROPERTIES MACOSX_PACKAGE_LOCATION Resources
How to improve this command and make it display not only the line of code containing MACOSX_PACKAGE_LOCATION
but a code snipped containing 5 lines before and 5 lines after MACOSX_PACKAGE_LOCATION
?