From mboxrd@z Thu Jan 1 00:00:00 1970 MIME-Version: 1.0 In-Reply-To: References: <138575260906260323y63ae8fadid914141a4e422f77@mail.gmail.com> Date: Fri, 26 Jun 2009 13:46:53 +0200 Message-ID: <138575260906260446y56b4168dxface718c8f429be0@mail.gmail.com> From: hugo rivera To: Fans of the OS Plan 9 from Bell Labs <9fans@9fans.net> Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 7bit Subject: Re: [9fans] Another acme question Topicbox-Message-UUID: 0f642dd6-ead5-11e9-9d60-3106f5b1d025 OK, thanks for the reply. 2009/6/26 roger peppe : > 2009/6/26 hugo rivera : >> Hello, >> I have another problem with acme. >> Lets say I want to check the spelling in all the comments in a c file, >> so I execute: >> Edit ,x/\/\*.*\*\// > spell (nevermind this doesn't work for more >> than one line comments) >> and nothing happens. > > this seems to be a bug in spell - it ignores a final line with no linefeed. > this works ok: > Edit ,x/\/\*.*\*\// > {cat; echo} | spell > > i've sometimes wondered if it'd be useful to have a variant on > > that prints the output of the command prefixed by the address > of the input (not that it would be particularly useful in this case, though, > as the words are easily searchable). i never thought of a decent > syntax for it though. > > -- Hugo