From mboxrd@z Thu Jan 1 00:00:00 1970 MIME-Version: 1.0 In-Reply-To: <14ec7b180906080958l71642089k6fbe672fd18c9771@mail.gmail.com> References: <14ec7b180906080958l71642089k6fbe672fd18c9771@mail.gmail.com> Date: Mon, 8 Jun 2009 19:30:28 +0200 Message-ID: From: Rudolf Sykora To: Fans of the OS Plan 9 from Bell Labs <9fans@9fans.net> Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: 7bit Subject: Re: [9fans] acme: send dot to the stdin of a more complicated command Topicbox-Message-UUID: 0685f8a2-ead5-11e9-9d60-3106f5b1d025 > remember, this is plan9 and everything is a file. chances are your > "script" is already available in some filesystem and you don't need to > write it out:: create a new window inside acme, type your awk script > and then issue ">awk -f /mnt/wsys/X/body" where X is the ID of your > window. well, though an inspiring idea, it doesn't sound to be much practical: 1) I usually have a special window in which I have many commands. I then select the one needed and chord it to the appropriate window (i.e. I don't use the whole contents of a window). 2) sometimes I have more such windows. The very question for me now is: why it behaves how it behaves, i.e why newlines (if it's them) are problematic. Ruda