9fans - fans of the OS Plan 9 from Bell Labs
 help / color / mirror / Atom feed
* [9fans] Acme Edit to remove lines
@ 2017-05-26 14:20 dexen deVries
  2017-05-26 14:27 ` Paul Lalonde
  2017-05-26 14:29 ` James A. Robinson
  0 siblings, 2 replies; 5+ messages in thread
From: dexen deVries @ 2017-05-26 14:20 UTC (permalink / raw)
  To: Fans of the OS Plan 9 from Bell Labs

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.



^ permalink raw reply	[flat|nested] 5+ messages in thread

end of thread, other threads:[~2017-05-26 16:33 UTC | newest]

Thread overview: 5+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2017-05-26 14:20 [9fans] Acme Edit to remove lines dexen deVries
2017-05-26 14:27 ` Paul Lalonde
2017-05-26 14:29 ` James A. Robinson
2017-05-26 15:07   ` dexen deVries
2017-05-26 16:33     ` Micah Stetson

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).