---
type: link
tags: [public]
created: 2025-11-06T02:51:46.190Z
updated: 2025-11-15T20:19:56.210Z
---# sed | Delete lines matching a range of patterns.

**URL:** [https://www.gnu.org/software/sed/manual/sed.html](https://www.gnu.org/software/sed/manual/sed.html)

sed | Delete lines matching a range of patterns. sed '/start_pattern/,/end_pattern/d' file.txt


---
**Keywords:** public
