dropcopyright script

From: Rick Hohensee (humbubba@smarty.smart.net)
Date: Wed Feb 14 2001 - 01:47:14 EST


.......................................................................
## drop copyright notices to the bottoms of C files in current dir and
# subs.
# /*
# CopYriGHt Guess Who 2001 All reserves righted.
# */

grep -ilr "copyright" . > tempdropcopyrights

for f in `cat tempdropcopyrights`
do
ed $f <<HEREDOC
/[Cc][oO][pP][yY][rR][iI]/
?\/\*?
.,/\*\//m$
wq
HEREDOC
done
........................................................................

Rick Hohensee
www.cLIeNUX.com
-
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@vger.kernel.org
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/



This archive was generated by hypermail 2b29 : Thu Feb 15 2001 - 21:00:23 EST