Recently Written · git

tmpl

Insanely simple templates

git clone https://github.com/equwal/tmpl

Log | Files | Refs


sed/d (262 bytes)

1 # Use this command to try an example (in this case, the D sed command).
2 # the line's contents -- but not the newline at the end -- will be deleted with
3 # same as sed 's/^pattern.*//'
4 sed '/^<++>/D' 
5 # Compare with
6 sed '/^<++>/d'
7 # which also deletes the newline