From mboxrd@z Thu Jan 1 00:00:00 1970 From: erik quanstrom Date: Tue, 7 Sep 2010 17:19:34 -0400 To: 9fans@9fans.net Message-ID: <321f3ccb28b39835dda2a51e654b6c19@coraid.com> In-Reply-To: References: MIME-Version: 1.0 Content-Type: text/plain; charset="US-ASCII" Content-Transfer-Encoding: 7bit Subject: Re: [9fans] how to print a program Topicbox-Message-UUID: 52505920-ead6-11e9-9d60-3106f5b1d025 > (btw. why > fmt <>afile > doesn't work?) sure it does. fmt <>file will open file for reading and writing on fd 0. fd 1 will be your terminal. if you want fd1 to be the same channel, you can add >[1=0], but this will not have the intended effect in this case. why is left as an exercise. - erik