This question already has an answer here:
On at least CentOS systems and previous versions of Fedora, I could run the following command and get a list of files with the corresponding grep matches:
$ find -name "version.php" -type f | xargs grep "^\$wp_version"
site.com/wp-includes/version.php:$wp_version = '4.7.3';
Apparently though on at least Fedora 22 and newer, running that same command no longer includes the path and filenames:
find -name "version.php" -type f | xargs grep "^\$wp_version"
$wp_version = '4.7.3';
I know I can include -l to show just the path, but is there a way to include the path without dropping the match? I don't see anything in the man file.