|
1 | 1 | #!/bin/sh
|
2 | 2 |
|
3 |
| -# $PostgreSQL: pgsql/src/tools/add_cvs_markers,v 1.1 2008/06/15 21:46:02 adunstan Exp $ |
| 3 | +# $PostgreSQL: pgsql/src/tools/add_cvs_markers,v 1.2 2008/06/15 21:58:55 adunstan Exp $ |
4 | 4 |
|
5 | 5 | # Author: Andrew Dunstan
|
6 | 6 |
|
@@ -36,15 +36,15 @@ find . \( \( -name 'libstemmer' -o -name 'expected' -o -name 'ppport.h' \
|
36 | 36 | {whileread file;do
|
37 | 37 | head -n 1<$file| grep -q'^/\*'&&echo$file
|
38 | 38 | done;echo dummy;}| \
|
39 |
| - xargs -l sed -i -e'1s/^\// /' -e'1i/*\n *$PostgreSQL: pgsql/src/tools/add_cvs_markers,v 1.1 2008/06/15 21:46:02 adunstan Exp$ \n *' |
| 39 | + xargs -l sed -i -e'1s/^\// /' -e'1i/*\n *\x24PostgreSQL:$ \n *' |
40 | 40 |
|
41 | 41 | # now all the rest (i.e. the files that don't start with a comment)
|
42 | 42 |
|
43 | 43 | { find.\(\( -name'libstemmer' -o -name'expected' -o -name'ppport.h' \
|
44 | 44 | -o -name'regression.h' -o -name'sql3types.h' -o -name'sqlca.h'\) \
|
45 | 45 | -prune\) -o\( -name'*.[ch]'\)\( -exec grep -q'\$PostgreSQL' {}\; \
|
46 | 46 | -o -print\);echo dummy;}| \
|
47 |
| - xargs -l sed -i -e'1i/*\n *$PostgreSQL: pgsql/src/tools/add_cvs_markers,v 1.1 2008/06/15 21:46:02 adunstan Exp$ \n */' |
| 47 | + xargs -l sed -i -e'1i/*\n *\x24PostgreSQL:$ \n */' |
48 | 48 |
|
49 | 49 | rm -f dummy
|
50 | 50 |
|