mirror of
https://github.com/postgres/postgres.git
synced 2026-02-20 00:10:16 -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 */'
|
||
|---|---|---|
| .. | ||
| Makefile | ||
| README | ||
| test_fsync.c | ||
$PostgreSQL: pgsql/src/tools/fsync/README,v 1.4 2008/03/21 13:23:29 momjian Exp $ fsync ===== This program tests fsync. The tests are described as part of the program output. Usage: test_fsync [-f filename] [loops] Loops defaults to 1000. The default output file is /var/tmp/test_fsync.out. Consider that /tmp or /var/tmp might be memory-based file systems.