aboutsummaryrefslogtreecommitdiff
path: root/bin/d2u.sh
diff options
context:
space:
mode:
Diffstat (limited to 'bin/d2u.sh')
-rw-r--r--bin/d2u.sh2
1 files changed, 1 insertions, 1 deletions
diff --git a/bin/d2u.sh b/bin/d2u.sh
index 22c8e16b..892c446b 100644
--- a/bin/d2u.sh
+++ b/bin/d2u.sh
@@ -16,7 +16,7 @@ for fn ; do
# $r within it to get a literal carriage return; the escape characters
# prescribed for ed(1) by POSIX are very limited
ed -s -- "$fn" <<EOF || ex=1
-g/$r\$/ s/$r\$//
+,s/$r\$//
w
EOF
done