Commit 1b62a714 authored by Bruce Momjian's avatar Bruce Momjian

The Watcom preprocessor adds a space at the start of each line. Therefore

the output of "egrep '^[0-9]' " is empty. Changing the pattern to
"egrep '^[ ]*[0-9]" generates the correct file.

Tegge, Bernd
parent 4081268d
...@@ -9,7 +9,7 @@ ...@@ -9,7 +9,7 @@
# #
# #
# IDENTIFICATION # IDENTIFICATION
# $Header: /cvsroot/pgsql/src/backend/utils/Attic/Gen_fmgrtab.sh,v 1.19 2001/01/24 19:43:12 momjian Exp $ # $Header: /cvsroot/pgsql/src/backend/utils/Attic/Gen_fmgrtab.sh,v 1.20 2001/05/22 12:06:51 momjian Exp $
# #
#------------------------------------------------------------------------- #-------------------------------------------------------------------------
...@@ -108,7 +108,7 @@ if [ $? -ne 0 ]; then ...@@ -108,7 +108,7 @@ if [ $? -ne 0 ]; then
fi fi
$CPP $BKIOPTS $CPPTMPFILE | \ $CPP $BKIOPTS $CPPTMPFILE | \
egrep '^[0-9]' | \ egrep '^[ ]*[0-9]' | \
sort -n > $RAWFILE sort -n > $RAWFILE
if [ $? -ne 0 ]; then if [ $? -ne 0 ]; then
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment