I am trying to change the copyrights in a repository, i mean change the old copyrights to new copyrights for example copyrights 2008 to copyrights 2012,
so what i want to do is to find,
- How many files have 2 copyrights
- How many files do not have any copyrights in them
- How many files have single, old copyrights in them
I was able to achieve
questions 2 by using grep -vir copyright *
, and
question 3 by using grep -rni copyright *
how do I list out all the files with 2 copyrights in them?