From 53972b460c6bc56178244ac53cf71e11bba6c37a Mon Sep 17 00:00:00 2001 From: Andrew Dunstan Date: Sat, 17 May 2008 01:28:26 +0000 Subject: Add $PostgreSQL$ markers to a lot of files that were missing them. 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 */' --- contrib/tablefunc/tablefunc.h | 3 +++ 1 file changed, 3 insertions(+) (limited to 'contrib/tablefunc/tablefunc.h') diff --git a/contrib/tablefunc/tablefunc.h b/contrib/tablefunc/tablefunc.h index f6fbf97827f..3b4bb40cef6 100644 --- a/contrib/tablefunc/tablefunc.h +++ b/contrib/tablefunc/tablefunc.h @@ -1,4 +1,7 @@ /* + * $PostgreSQL: pgsql/contrib/tablefunc/tablefunc.h,v 1.14 2008/05/17 01:28:22 adunstan Exp $ + * + * * tablefunc * * Sample to demonstrate C functions which return setof scalar -- cgit v1.2.3