aboutsummaryrefslogtreecommitdiff
path: root/tests/second_merge_check
diff options
context:
space:
mode:
authorThomas White <taw@physics.org>2018-06-25 14:36:58 +0200
committerThomas White <taw@physics.org>2018-06-25 14:36:58 +0200
commit4ec097a154351883f5c3d0a8275c7d941da4d81a (patch)
tree64ca931c5e67e41dd8d96127c8dab0de6fae712d /tests/second_merge_check
parent1ec0429da9f345ffa8fd6775fc3dee8cab20fbc9 (diff)
Switch remaining tests from "ex" to "sed"
Diffstat (limited to 'tests/second_merge_check')
-rwxr-xr-xtests/second_merge_check5
1 files changed, 2 insertions, 3 deletions
diff --git a/tests/second_merge_check b/tests/second_merge_check
index 2636ccdb..7a5c6134 100755
--- a/tests/second_merge_check
+++ b/tests/second_merge_check
@@ -45,9 +45,8 @@ process_hkl -y -1 -i second_merge_check.stream -o second_merge_check.hkl --no-po
if [ $? -ne 0 ]; then
exit 1;
fi
-ex -c '/End of reflections/
-.,$d
-x' second_merge_check.hkl
+sed -n '/End of reflections/q;p' second_merge_check.hkl > tempS.hkl
+mv tempS.hkl second_merge_check.hkl
diff second_merge_check.hkl second_merge_check_ans.hkl
if [ $? -ne 0 ]; then
exit 1