Changeset: 1272b76c862d for MonetDB
URL: http://dev.monetdb.org/hg/MonetDB?cmd=changeset;node=1272b76c862d
Modified Files:
sql/test/pg_regress/Tests/load.SQL.sh
Branch: Oct2014
Log Message:
Don't use GNU extensions of sed.
diffs (18 lines):
diff --git a/sql/test/pg_regress/Tests/load.SQL.sh
b/sql/test/pg_regress/Tests/load.SQL.sh
--- a/sql/test/pg_regress/Tests/load.SQL.sh
+++ b/sql/test/pg_regress/Tests/load.SQL.sh
@@ -6,11 +6,11 @@ Mlog "loading data with sed-foo"
# don't load stud_emp, as it's the only data file with \N entries
# (PostgreSQL NULL notation)
-sed -r \
- -e s+@abs_srcdir@+$TSTSRCBASE/$TSTDIR+Ig \
+sed \
+ -e "s+@abs_srcdir@+$TSTSRCBASE/$TSTDIR+g" \
-e '/@abs_builddir@/d' \
-e '/DELETE FROM/d' \
- -e "s/COPY (.*);/COPY INTO \1 USING DELIMITERS '\\\\t\', '\\\\n';/I" \
+ -e "s/[Cc][Oo][Pp][Yy] \\(.*\\);/COPY INTO \\1 USING DELIMITERS
'\\\\t', '\\\\n';/" \
-e '/stud_emp/d' \
$TSTSRCDIR/../input/copy.source \
| $SQL_CLIENT
_______________________________________________
checkin-list mailing list
[email protected]
https://www.monetdb.org/mailman/listinfo/checkin-list