On 28 August 2013 14:13, dexen deVries <dexen.devr...@gmail.com> 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 >)