]> Tony Duckles's Git Repositories (git.nynim.org) - dotfiles.git/blob - bin/license
.bashrc: Better color support, add Cygwin support
[dotfiles.git] / bin / license
1 #!/bin/sh
2 # Usage: license
3 # Prints an MIT license appropriate for totin' around.
4 #
5 # $ license > COPYING
6 #
7 # Original version by Chris Wanstrath:
8 # http://gist.github.com/287717
9 exec sh -c "tail -n +$(($LINENO + 2)) < $0 | sed s/DATE/$(date +%Y)/"
10
11 Copyright (c) DATE Ryan Tomayko <http://tomayko.com/about>
12
13 Permission is hereby granted, free of charge, to any person ob-
14 taining a copy of this software and associated documentation
15 files (the "Software"), to deal in the Software without restric-
16 tion, including without limitation the rights to use, copy, modi-
17 fy, merge, publish, distribute, sublicense, and/or sell copies of
18 the Software, and to permit persons to whom the Software is fur-
19 nished to do so, subject to the following conditions:
20
21 The above copyright notice and this permission notice shall be
22 included in all copies or substantial portions of the Software.
23
24 THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND,
25 EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES
26 OF MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND NONIN-
27 FRINGEMENT. IN NO EVENT SHALL THE AUTHORS OR COPYRIGHT HOLDERS BE
28 LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN AN
29 ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN
30 CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE
31 SOFTWARE.