Movatterモバイル変換


[0]ホーム

URL:


Skip to content

Navigation Menu

Sign in
Appearance settings

Search code, repositories, users, issues, pull requests...

Provide feedback

We read every piece of feedback, and take your input very seriously.

Saved searches

Use saved searches to filter your results more quickly

Sign up
Appearance settings

Commitc4eaa96

Browse files
committed
Make comma optional for copyright text change.
1 parent2dca07d commitc4eaa96

File tree

1 file changed

+3
-3
lines changed

1 file changed

+3
-3
lines changed

‎src/tools/copyright

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -1,14 +1,14 @@
11
#!/bin/sh
22

3-
# $PostgreSQL: pgsql/src/tools/copyright,v 1.15 2008/01/02 02:36:18 momjian Exp $
3+
# $PostgreSQL: pgsql/src/tools/copyright,v 1.16 2009/01/01 18:21:56 momjian Exp $
44

55
echo"Using current year:`date'+%Y'`"
66

77
rgrep -l'Copyright.*PostgreSQL Global Development Group'|whileread FILE
88
do
9-
pipe sed's/^\(.*Copyright (c) [12][0-9][0-9][0-9]\) \?- \?[12][0-9][0-9][0-9]\(, PostgreSQL Global Development Group.*\)$/\1-'`date'+%Y'`'\2/'$FILE
9+
pipe sed's/^\(.*Copyright (c) [12][0-9][0-9][0-9]\) \?- \?[12][0-9][0-9][0-9]\(,\? PostgreSQL Global Development Group.*\)$/\1-'`date'+%Y'`'\2/'$FILE
1010
# handle cases where only one year appears
11-
pipe sed's/^\(.*Copyright (c) [12][0-9][0-9][0-9]\) \?\(, PostgreSQL Global Development Group.*\)$/\1-'`date'+%Y'`'\2/'$FILE
11+
pipe sed's/^\(.*Copyright (c) [12][0-9][0-9][0-9]\) \?\(,\? PostgreSQL Global Development Group.*\)$/\1-'`date'+%Y'`'\2/'$FILE
1212
done
1313

1414
echo"Manually update doc/src/sgml/legal.sgml too"1>&2

0 commit comments

Comments
 (0)

[8]ページ先頭

©2009-2025 Movatter.jp