From mboxrd@z Thu Jan 1 00:00:00 1970 Message-ID: Date: Thu, 17 Jul 2008 11:03:05 +0100 From: "roger peppe" To: "Fans of the OS Plan 9 from Bell Labs" <9fans@9fans.net> MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 7bit Content-Disposition: inline Subject: [9fans] acme g/$/ funny Topicbox-Message-UUID: e976c31e-ead3-11e9-9d60-3106f5b1d025 Edit ,x/.*/g/$/a/foo/ shouldn't this append "foo" after every line? sam gives slightly different behaviour here (but still questionable) - it appends "foo" after every empty line. is this actually a bug, or have i misunderstood the way that '$' is meant to work? it does seem strange that in the following edit command, the guard never matches anything. Edit ,x/foo$/g/foo$/d