0

i write a command on Linux, something like :

 grep -r "SNAPSHOT" .

which returns

    ./pom.xml:                                 <version>1.6-SNAPSHOT</version>
    ./pom.xml:                                 <epr.common.version>5.9.4-SNAPSHOT</epr.common.version>
    ./target/maven-archiver/pom.properties:    version=1.5-SNAPSHOT

it is perfect, but i'd like to find the same command, but filtering on the file names whose suffix is xml. how to do that ?

electrode
  • 145
  • 1
  • 13

0 Answers0