From mboxrd@z Thu Jan 1 00:00:00 1970 Message-ID: <7b3782aa3c2451d6c10eb63778ced9bf@quanstro.net> To: 9fans@cse.psu.edu Subject: Re: [9fans] newbie rc question From: erik quanstrom Date: Mon, 15 Oct 2007 16:34:52 -0400 In-Reply-To: MIME-Version: 1.0 Content-Type: text/plain; charset="US-ASCII" Content-Transfer-Encoding: 7bit Topicbox-Message-UUID: d14e2daa-ead2-11e9-9d60-3106f5b1d025 > This doesn't quite allow for the same possibilities as the original > Unix program seemed to, where you could do: > watch fig1.pic | pic | troff | page > instead of being limited to just one command. Can the problem of > open file descriptors be solved in rc while still giving a nice general > tool, or is it necessary to go to C? > > > John sure it does. you could replace the $2 < $1 in the script with rc -c $2<$1 then your command would be watch fig1.pic 'pic|troff|page' - erik