Finding contributors through CVS
Frequently, I check out code from CVS and I want to know who worked on it before. For example currently I am porting a PEAR package to PHP5 and would like to change the license in the process.
In order to do this, I need the consent of all people who have been involved.
The command to the rescue is "cvs rlog <module>", season it with a little bit of grep, sed, sort and uniq (Thanks, helly!) and it works easily:
cvs rlog pear/Net_DNS | grep -e 'date:.*author:.*' | sed 's,.*author:\([^;]*\).*,\1,' | sort | uniq