Created
October 28, 2013 10:19
-
-
Save tueda/7194467 to your computer and use it in GitHub Desktop.
Used for replacing copyright lines in source files.
This file contains hidden or 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
#! /bin/sh | |
set -e | |
for f in *.c *.cc *.h; do | |
sed -i -e 's/1984-2012/1984-2013/' $f | |
done |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment