53972b460c
This particular batch was just for *.c and *.h file. The changes were made with the following 2 commands: find . \( \( -name 'libstemmer' -o -name 'expected' -o -name 'ppport.h' \) -prune \) -o \( -name '*.[ch]' \) \( -exec grep -q '\$PostgreSQL' {} \; -o -print \) | while read file ; do head -n 1 < $file | grep -q '^/\*' && echo $file; done | xargs -l sed -i -e '1s/^\// /' -e '1i/*\n * $PostgreSQL:$ \n *' find . \( \( -name 'libstemmer' -o -name 'expected' -o -name 'ppport.h' \) -prune \) -o \( -name '*.[ch]' \) \( -exec grep -q '\$PostgreSQL' {} \; -o -print \) | xargs -l sed -i -e '1i/*\n * $PostgreSQL:$ \n */' |
||
---|---|---|
.. | ||
autoinc.c | ||
autoinc.example | ||
autoinc.sql.in | ||
insert_username.c | ||
insert_username.example | ||
insert_username.sql.in | ||
Makefile | ||
moddatetime.c | ||
moddatetime.example | ||
moddatetime.sql.in | ||
refint.c | ||
refint.example | ||
refint.sql.in | ||
timetravel.c | ||
timetravel.example | ||
timetravel.sql.in |