commit 37733cdaafd1e9d51a30a52a69955b84b39998e3 Spenser Truex <truex@equwal.com> 2025-09-12 07:59:07 +0000 Add sed d
sed/d | 7 +++++++ 1 file changed, 7 insertions(+)
diff --git a/sed/d b/sed/d new file mode 100644 index 0000000..482895c --- /dev/null +++ b/sed/d @@ -0,0 +1,7 @@ +# Use this command to try an example (in this case, the D sed command). +# the line's contents -- but not the newline at the end -- will be deleted with +# same as sed 's/^pattern.*//' +sed '/^<++>/D' +# Compare with +sed '/^<++>/d' +# which also deletes the newline