Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Helpful stamp tools #104

Open
theuserbl opened this issue Dec 21, 2015 · 0 comments
Open

Helpful stamp tools #104

theuserbl opened this issue Dec 21, 2015 · 0 comments

Comments

@theuserbl
Copy link
Contributor

Only wanted to mention two helpful stamp-tools for unix/linux. Both are shell-scripts which makes use of the sed-program.

First one creates the standard-stamp for every file. The text have to be completely in one line:
For example, call the file with this included "stamp1.sh":

sed -i '1s/.*$/\/*\n * Copyright (c) 2008-2015 Emmanuel Dupuy\n * This program is made available under the terms of the GPLv3 License\n *\/\n\n&/g' $*

Second one changes the date from 2015 to 2016.
For example, call the file with this included "stamp2.sh":

sed -i 's/Copyright (c) 2008-2015 Emmanuel Dupuy/Copyright (c) 2008-2016 Emmanuel Dupuy/g' $*
@theuserbl theuserbl mentioned this issue Dec 26, 2015
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant