From mboxrd@z Thu Jan 1 00:00:00 1970 Message-ID: From: Geoff Collyer To: 9fans@cse.psu.edu Subject: Re: [9fans] v8 shell In-Reply-To: <2cd42c087fdb421f50167b5b1bc9d4dc@hamnavoe.com> MIME-Version: 1.0 Content-Type: text/plain; charset="US-ASCII" Content-Transfer-Encoding: 7bit Date: Sun, 16 Nov 2003 04:01:27 -0800 Topicbox-Message-UUID: 8ad27760-eacc-11e9-9e20-41e7f4b1d025 Some versions of sh have <>, but it's not always documented. The v7 and v9 shells parse <> and set a flag (IORDW), but the flag is never honoured. I suppose one could write a simple prefix command, taking a file name, descriptor number, and command to run: rdwr /mnt/webcookies/http 4 'echo http://www.foo.baz >[1=4]; cat <[0=4]'