From mboxrd@z Thu Jan 1 00:00:00 1970 Message-ID: <82c890d00511051304n65880b9bq@mail.gmail.com> Date: Sat, 5 Nov 2005 21:04:39 +0000 From: Gabriel Diaz 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: multipart/alternative; boundary="----=_Part_24328_31356042.1131224679644" References: <20051105205152.GA28109@oglaroon.de> Topicbox-Message-UUID: a686982a-ead0-11e9-9d60-3106f5b1d025 ------=_Part_24328_31356042.1131224679644 Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: quoted-printable Content-Disposition: inline Hi It works for me. If i put a number on each line and then Edit ,|sort -n i get numbers sorted= . (you need to have the last line with a \n to avoid an error message from sort) Gabi 2005/11/5, Georg Neis : > > Acme's man page says about Edit: > Treat the argument as a text editing command in the style of sam(1). > The full Sam language is implemented except for the commands k, n, q, > and !. > > However, it seems that sam's pipe command doesn't work. For example, > Edit ,|sort > removes all lines instead of sorting them. > > Thanks to Uriel I now know that acme has its own | command. But why this > exception? It's even undocumented. > > Regards, > Georg > ------=_Part_24328_31356042.1131224679644 Content-Type: text/html; charset=ISO-8859-1 Content-Transfer-Encoding: quoted-printable Content-Disposition: inline Hi

It works for me.

If i put a number on each line and then Edit ,|sort -n i get numbers sorted= .
(you need to have the last line with a  \n to avoid an error message f= rom sort)

Gabi


2005/11/5, Georg Neis <gn@oglaroon.de>:
Acme's man page says about Edit:
    Treat the argum= ent as a text editing command in the style of sam(1).
   =  The full Sam language is implemented except for the commands k, n, q,=
    and !.

However, it seems that sam's pipe= command doesn't work.  For example,
    Edit ,|sort
removes all lines instead of sor= ting them.

Thanks to Uriel I now know that acme has its own | comman= d.  But why this
exception?  It's even undocumented.=

Regards,
Georg

------=_Part_24328_31356042.1131224679644--