mirror of
https://github.com/postgres/postgres.git
synced 2026-04-12 12:36:49 -04:00
11 lines
371 B
Bash
Executable file
11 lines
371 B
Bash
Executable file
#!/bin/sh
|
|
|
|
# $PostgreSQL: pgsql/src/tools/copyright,v 1.11 2006/03/11 04:38:41 momjian Exp $
|
|
|
|
rgrep -l 'Copyright.*PostgreSQL Global Development Group' | while read FILE
|
|
do
|
|
pipe sed 's/^\(.*Copyright (c) [12][0-9][0-9][0-9]-\)[12][0-9][0-9][0-9]\(, PostgreSQL Global Development Group.*\)$/\12006\2/' $FILE
|
|
done
|
|
|
|
echo "Manually update doc/src/sgml/legal.sgml too" 1>&2
|
|
|