From mboxrd@z Thu Jan 1 00:00:00 1970 Message-ID: <88a477560610310922j6c5ed52dg6327ab6587479977@mail.gmail.com> Date: Tue, 31 Oct 2006 18:22:36 +0100 From: "Matthias Teege" To: 9fans@cse.psu.edu MIME-Version: 1.0 Content-Type: text/plain; charset=ISO-8859-1; format=flowed Content-Transfer-Encoding: 7bit Content-Disposition: inline Subject: [9fans] winclear in p9p Topicbox-Message-UUID: d95a2586-ead1-11e9-9d60-3106f5b1d025 Moin, I've found fn winclear { echo -n Edit ,d > /dev/acme/body echo -n /Edit ,d/ > /dev/acme/addr echo -n 'dot=addr' > /dev/acme/ctl cat /dev/acme/addr | awk '{printf("MX%s %s\n", $1, $2)}' > /dev/acme/event } in the wiki but how do I clear a win in Plan 9 ports? To be accurate I need to replace some text in the middle of the body and it would be nice, if I can avoid a tempfile. Many thanks Matthias