From mboxrd@z Thu Jan 1 00:00:00 1970 Message-ID: Date: Sat, 5 Nov 2005 21:58:28 -0500 From: Russ Cox To: Fans of the OS Plan 9 from Bell Labs <9fans@cse.psu.edu> Subject: Re: [9fans] Acme and the pipe command In-Reply-To: <20051105205152.GA28109@oglaroon.de> MIME-Version: 1.0 Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: quoted-printable Content-Disposition: inline References: <20051105205152.GA28109@oglaroon.de> Topicbox-Message-UUID: a6a2920a-ead0-11e9-9d60-3106f5b1d025 > Edit ,|sort > removes all lines instead of sorting them. This is true of the plan9port version, for reasons I've never tracked down. They have something to do with the fact that, because of the way fsopenfd is implemented, the command can exit before the output has been received by acme. I'm not sure why Edit | doesn't work but regular | does. On Plan 9, they both work fine. > Thanks to Uriel I now know that acme has its own | command. But why this > exception? It's even undocumented. I am surprised, but you seem to be right that the |, <, and > commands in acme are undocumented. (> is like pipe but the output goes to +Errors instead of replacing the selection. < replaces the selection but does not send it to the command.) These predate Edit by many years. Russ