mirror of
https://github.com/postgres/postgres.git
synced 2026-02-17 01:31:07 -05:00
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 */'
|
||
|---|---|---|
| .. | ||
| datetime.h | ||
| decimal.h | ||
| ecpg-pthread-win32.h | ||
| ecpg_config.h.in | ||
| ecpg_informix.h | ||
| ecpgerrno.h | ||
| ecpglib.h | ||
| ecpgtype.h | ||
| Makefile | ||
| pgtypes_date.h | ||
| pgtypes_error.h | ||
| pgtypes_interval.h | ||
| pgtypes_numeric.h | ||
| pgtypes_timestamp.h | ||
| sql3types.h | ||
| sqlca.h | ||
| sqlda.h | ||
| sqltypes.h | ||