Blame Scripts/centos-art/Functions/Tuneup/Shell/Config/topcomment.sed

be7de3
#!/bin/sed
be7de3
#
964300
# topcomment.sed -- This file standardizes the top comment inside
964300
# centos-art.sh scripts.
be7de3
#
e6683c
# Copyright (C) 2009, 2010, 2011 The CentOS Artwork SIG
be7de3
#
be7de3
# This program is free software; you can redistribute it and/or modify
be7de3
# it under the terms of the GNU General Public License as published by
be7de3
# the Free Software Foundation; either version 2 of the License, or
be7de3
# (at your option) any later version.
be7de3
# 
be7de3
# This program is distributed in the hope that it will be useful, but
be7de3
# WITHOUT ANY WARRANTY; without even the implied warranty of
be7de3
# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the GNU
be7de3
# General Public License for more details.
be7de3
#
be7de3
# You should have received a copy of the GNU General Public License
be7de3
# along with this program; if not, write to the Free Software
21ab4e
# Foundation, Inc., 675 Mass Ave, Cambridge, MA 02139, USA.
c739b4
#
be7de3
# ----------------------------------------------------------------------
be7de3
# $Id$
be7de3
# ----------------------------------------------------------------------
be7de3
/^# +Copyright .*$/a\
e6683c
# Copyright (C) =COPYRIGHT_YEAR_LIST= =COPYRIGHT_HOLDER=\
be7de3
#\
be7de3
# This program is free software; you can redistribute it and/or modify\
be7de3
# it under the terms of the GNU General Public License as published by\
64ce97
# the Free Software Foundation; either version 2 of the License, or (at\
64ce97
# your option) any later version.\
be7de3
#\
3f0d09
# This program is distributed in the hope that it will be useful, but\
3f0d09
# WITHOUT ANY WARRANTY; without even the implied warranty of\
be7de3
# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the GNU\
be7de3
# General Public License for more details.\
be7de3
#\
be7de3
# You should have received a copy of the GNU General Public License\
be7de3
# along with this program; if not, write to the Free Software\
64ce97
# Foundation, Inc., 675 Mass Ave, Cambridge, MA 02139, USA.\
c739b4
#\
be7de3
# ----------------------------------------------------------------------
be7de3
be7de3
# Remove previous copyright notice, just to be sure the one above be
be7de3
# used always.
be7de3
/^# +Copyright .*$/,/^# -{70}$/{
be7de3
d
be7de3
}
be7de3
be7de3
# Remove more than one space after comments.
be7de3
s/^# +/# /
be7de3
be7de3
# Define script first line.
be7de3
1c\
be7de3
#!/bin/bash