File:  [gforth] / gforth / update-copyright
Revision 1.1: download - view: text, annotated - select for diffs
Sun Mar 9 12:20:27 2003 UTC (19 years, 3 months ago) by anton
Branches: MAIN
CVS tags: HEAD
added script for updating copyright years

    1: #bash script
    2: #call this at the end of each year on a GNU system
    3: 
    4: #Copyright (C) 2003 Free Software Foundation, Inc.
    5: 
    6: #This file is part of Gforth.
    7: 
    8: #Gforth is free software; you can redistribute it and/or
    9: #modify it under the terms of the GNU General Public License
   10: #as published by the Free Software Foundation; either version 2
   11: #of the License, or (at your option) any later version.
   12: 
   13: #This program is distributed in the hope that it will be useful,
   14: #but WITHOUT ANY WARRANTY; without even the implied warranty of
   15: #MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.#See the
   16: #GNU General Public License for more details.
   17: 
   18: #You should have received a copy of the GNU General Public License
   19: #along with this program; if not, write to the Free Software
   20: #Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111, USA.
   21: 
   22: for i in `cvs -q status|grep 'Repository revision:'|sed 's|^.*/usr/local/lib/cvs-repository/src-master/gforth/||'|sed 's/,v$//'`; do
   23:     echo $i
   24:     #if grep -q "[0-9]  *Free Software Foundation" $i; then
   25: #	:
   26: #    else
   27: #	: #echo "$i: no copyright"
   28: #    fi
   29: done
   30: 
   31: 

FreeBSD-CVSweb <freebsd-cvsweb@FreeBSD.org>