From mboxrd@z Thu Jan 1 00:00:00 1970 From: andrey mirtchovski To: 9fans@cse.psu.edu Message-ID: <20030211164229.D95549@fbsd.cpsc.ucalgary.ca> MIME-Version: 1.0 Content-Type: TEXT/PLAIN; charset=US-ASCII Subject: [9fans] just one thing i can't figure out doing Date: Tue, 11 Feb 2003 17:08:02 -0700 Topicbox-Message-UUID: 5841af7e-eacb-11e9-9e20-41e7f4b1d025 i've been running my head against the wall on this one. short of reading the man page for rc i decided to ask the list first: i want to execute a 'window -m' where the command the window executes involves redirection (eg: cat >> /tmp/test)... so, naturally the first try is: % window -m cat >> /tmp/test but unfortunately this doesn't work (the window closes and no error status is reported in the original shell) the second thing was: % fn out { cat >> /tmp/test } % window -m out but it still didn't work... then i spent an hour trying all sorts of different quoting (trying to pass it as a list, to quote each and every one of them, to quote them together, to concatenate them with ' ' and everything else, including \>)... a way of doing this would be to create a yet another script that just cats it to /tmp, but that, in my view, is an overkill for something so simple... please, point me the obvious error that i am making... andrey