From mboxrd@z Thu Jan 1 00:00:00 1970 MIME-Version: 1.0 In-Reply-To: <12528660.BEdGTc6QD4@coil> References: <12528660.BEdGTc6QD4@coil> Date: Wed, 28 Aug 2013 14:53:12 +0200 Message-ID: From: Rudolf Sykora To: Fans of the OS Plan 9 from Bell Labs <9fans@9fans.net> Content-Type: text/plain; charset=UTF-8 Subject: Re: [9fans] acme: send dot to the stdin of a more complicated command Topicbox-Message-UUID: 75694d5c-ead8-11e9-9d60-3106f5b1d025 On 28 August 2013 14:13, dexen deVries wrote: > your selection lacks the final LF to make Rc happy ;-) > > a quick and dirty hack would be to always append LF: > exec /usr/local/plan9/bin/rc <{9p read acme/$id/rdsel;echo;} > > tested with: > echo foo bar > rc <{9p read acme/$winid/rdsel; echo; } thanks, this helped, now it works :) Ruda P.S.: correction: in my previous e-mail where I write >awk '{print $2}' I actually meant just awk '{print $2}' (ie. without the initial >)