From mboxrd@z Thu Jan 1 00:00:00 1970 MIME-Version: 1.0 From: dexen deVries Date: Fri, 26 May 2017 16:20:50 +0200 Message-ID: To: Fans of the OS Plan 9 from Bell Labs <9fans@9fans.net> Content-Type: text/plain; charset="UTF-8" Subject: [9fans] Acme Edit to remove lines Topicbox-Message-UUID: be7d07a8-ead9-11e9-9d60-3106f5b1d025 given multi-line dot, spanning only part of a file, how do i construct an Edit command to remove lines matching certain regular expression? wanted to delete lines starting with one particular character; without leaving an empty line behind, thus Edit s/X.+//d is not sufficient.