Skip to content
automated bash script to edit your code license note headers
Branch: master
Clone or download
Fetching latest commit…
Cannot retrieve the latest commit at this time.
Permalink
Type Name Latest commit message Commit time
Failed to load latest commit information.
COPYING
License_header
README.md
header_script.sh

README.md

LICENSE HEADER SCRIPT

##DESCRIPTION

It's a simply bash script to automatically modify your source code files to add/modify their license header it can:

  • add to the source code files in the same folder the license set in the file License_header
  • remove x lines of license in the source code files it there already is any Copyright notice

Be careful:

  • it removes lines of copyright if it detects (by grep command) the Copyright word (if you have some code with the "Copyright" word it will mess the file.)(also it won't work if the previous or the License_header has no the "Copyright" word inside)
  • once you remove the old copyright notice you have to restart the script to write the new one

##USAGE

sh header_Script.sh License_header

You can’t perform that action at this time.
You signed in with another tab or window. Reload to refresh your session. You signed out in another tab or window. Reload to refresh your session.