summaryrefslogtreecommitdiff
path: root/src/tools/pginclude
diff options
context:
space:
mode:
authorPeter Eisentraut2012-05-15 19:19:04 +0000
committerPeter Eisentraut2012-05-15 19:19:41 +0000
commitc8e086795a7ffc5244e03ffc2c92a3ae915a5055 (patch)
tree6b519eb94acdae669b6c6ecb9509e242bb2c2963 /src/tools/pginclude
parent131b4d647388cb756e5aab1f1462c8b46125d89c (diff)
Remove whitespace from end of lines
pgindent and perltidy should clean up the rest.
Diffstat (limited to 'src/tools/pginclude')
-rwxr-xr-xsrc/tools/pginclude/pgrminclude6
1 files changed, 3 insertions, 3 deletions
diff --git a/src/tools/pginclude/pgrminclude b/src/tools/pginclude/pgrminclude
index 383c5044bd7..7cbd2e7c9ca 100755
--- a/src/tools/pginclude/pgrminclude
+++ b/src/tools/pginclude/pgrminclude
@@ -43,7 +43,7 @@ verbose_output() {
process_includes_in_file() {
# loop through all includes mentioned in the file
- cat "$FILE" |
+ cat "$FILE" |
grep "^#include\>" |
grep -v '/\* *pgrminclude *ignore *\*/' |
sed 's/^#include[ ]*[<"]\([^>"]*\).*$/\1/g' |
@@ -80,7 +80,7 @@ compile_file() {
grep -v "^#else" |
grep -v "^#elif" |
grep -v "^#endif" |
- # with #if blocks gone, now undef #defines to avoid redefine
+ # with #if blocks gone, now undef #defines to avoid redefine
# warning and failure
sed 's/#define[ ][ ]*\([A-Za-z0-9_]*\).*$/#undef \1\n&/' >/tmp/$$a
@@ -121,7 +121,7 @@ compile_file() {
fi
}
-# Process include files first because they can affect the compilation
+# Process include files first because they can affect the compilation
# of *.c files.
(find . \( -name .git -a -prune \) -o -type f -name '*.h' -print | sort;
find . \( -name .git -a -prune \) -o -type f -name '*.c' -print | sort) |