Last active
December 20, 2015 23:18
-
-
Save ktf/6211006 to your computer and use it in GitHub Desktop.
Clean up CVS keywords
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
FOO=<your-package-to-cleanup> | |
git cms-addpkg $FOO | |
cd $CMSSW_BASE/src | |
find . -type f -exec sed -i "/[$][Dd]ate:[^$]*[$]/d" {} \; | |
find . -type f -exec sed -i "/[$][Ii]d:[^$]*[$]/d" {} \; | |
find . -type f -exec sed -i "/[$][Aa]uthor:[^$]*[$]/d" {} \; | |
find . -type f -exec sed -i "/[$][Rr]evision[^$]*[$]/d" {} \; | |
find . -type f -exec sed -i "/[$][Ll]og:[^$]*[$]/d" {} \; | |
find . -type f -exec sed -i "/[$][Ss]ource:[^$]*[$]/d" {} \; | |
find . -type f -exec sed -i "/[$][Rr][Cc][Ss][^$]*[$]/d" {} \; |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment