Skip to content

indiana-university/copyright-notice-attacher

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

18 Commits
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Copyright Notice Attacher

Shell script for adding BSD 3-Clause copyright notices to source files.

Open source projects at Indiana University must show the BSD 3-Clause copyright notice at the top of each source file.

Usage

The add-copyright.sh shell script looks through the current directory and all subdirectories for source files associated with the following languages:

  • C
  • C++
  • C#
  • Clojure
  • Common Lisp
  • F#
  • Haskell
  • HTML
  • Java
  • JavaScript
  • Matlab
  • Perl
  • PHP
  • Python
  • R
  • Ruby
  • SQL
  • TypeScript
  • XML

For each source file the script finds, it attaches the required BSD-3 copyright notice if the source file doesn't already have one. The script attaches the copyright notice to the top of the file using the comment syntax appropriate for the language.

About

Shell script for adding BSD 3-Clause copyright notices to source files.

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published