From mboxrd@z Thu Jan 1 00:00:00 1970 MIME-Version: 1.0 In-Reply-To: <138575260906260323y63ae8fadid914141a4e422f77@mail.gmail.com> References: <138575260906260323y63ae8fadid914141a4e422f77@mail.gmail.com> Date: Fri, 26 Jun 2009 12:15:29 +0100 Message-ID: From: roger peppe To: Fans of the OS Plan 9 from Bell Labs <9fans@9fans.net> Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: quoted-printable Subject: Re: [9fans] Another acme question Topicbox-Message-UUID: 0f5eb2ac-ead5-11e9-9d60-3106f5b1d025 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 =C2=A0 (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.