aboutsummaryrefslogtreecommitdiff
path: root/scripts/create-mtz
diff options
context:
space:
mode:
Diffstat (limited to 'scripts/create-mtz')
-rwxr-xr-xscripts/create-mtz5
1 files changed, 1 insertions, 4 deletions
diff --git a/scripts/create-mtz b/scripts/create-mtz
index 62d94405..add9f093 100755
--- a/scripts/create-mtz
+++ b/scripts/create-mtz
@@ -22,10 +22,7 @@ if [ -e $OUTFILE ]; then
fi
fi
-ex -c '/End of reflections/
-.,$d
-w create-mtz.temp.hkl
-q!' $1
+sed -n '/End\ of\ reflections/q;p' $1 > create-mtz.temp.hkl
echo "Running 'f2mtz'..."
f2mtz HKLIN create-mtz.temp.hkl HKLOUT $OUTFILE > out.html << EOF