From mboxrd@z Thu Jan 1 00:00:00 1970 Message-ID: From: "Russ Cox" To: 9fans@cse.psu.edu Subject: Re: [9fans] is there any good reason why awk does this? In-Reply-To: <01cb01c37215$c5a7e420$b9844051@insultant.net> MIME-Version: 1.0 Content-Type: multipart/mixed; boundary="upas-mjxgufskncryjhnbcekqjiebkp" Date: Wed, 3 Sep 2003 08:56:52 -0400 Topicbox-Message-UUID: 2b4c2728-eacc-11e9-9e20-41e7f4b1d025 This is a multi-part message in MIME format. --upas-mjxgufskncryjhnbcekqjiebkp Content-Disposition: inline Content-Type: text/plain; charset="US-ASCII" Content-Transfer-Encoding: 7bit I think you're wrong. The only occurrence of /dev/std* in the source is in a table that makes them work in awk programs. That is, awk 'BEGIN {print "hello world" >"/dev/stderr" }' works because of that table. It's not a bug. --upas-mjxgufskncryjhnbcekqjiebkp Content-Type: message/rfc822 Content-Disposition: inline Received: from plan9.cs.bell-labs.com ([135.104.9.2]) by plan9; Wed Sep 3 08:22:33 EDT 2003 Received: from mail.cse.psu.edu ([130.203.4.6]) by plan9; Wed Sep 3 08:22:31 EDT 2003 Received: by mail.cse.psu.edu (CSE Mail Server, from userid 60001) id 1E72E19C2B; Wed, 3 Sep 2003 08:22:22 -0400 (EDT) Received: from psuvax1.cse.psu.edu (psuvax1.cse.psu.edu [130.203.20.6]) by mail.cse.psu.edu (CSE Mail Server) with ESMTP id F0ED419BA4; Wed, 3 Sep 2003 08:22:07 -0400 (EDT) X-Original-To: 9fans@cse.psu.edu Delivered-To: 9fans@cse.psu.edu Received: by mail.cse.psu.edu (CSE Mail Server, from userid 60001) id 00BCE19B8F; Wed, 3 Sep 2003 08:21:44 -0400 (EDT) Received: from ams002.ftl.affinity.com (lvs00-fl-n02.valueweb.net [216.219.253.98]) by mail.cse.psu.edu (CSE Mail Server) with ESMTP id 2B89C19B4B for <9fans@cse.psu.edu>; Wed, 3 Sep 2003 08:21:33 -0400 (EDT) Received: from coma ([81.64.132.185]) by ams.ftl.affinity.com with SMTP id <584028-13925>; Wed, 3 Sep 2003 08:21:04 -0400 Message-ID: <01cb01c37215$c5a7e420$b9844051@insultant.net> From: "boyd, rounin" To: <9fans@cse.psu.edu> References: <20030903032744.N1234@gandalf.orthanc.ab.ca> Subject: Re: [9fans] is there any good reason why awk does this? MIME-Version: 1.0 Content-Type: text/plain; charset="iso-8859-1" Content-Transfer-Encoding: 7bit X-Priority: 3 X-MSMail-Priority: Normal X-Mailer: Microsoft Outlook Express 6.00.2800.1158 X-MimeOLE: Produced By Microsoft MimeOLE V6.00.2800.1165 Sender: 9fans-admin@cse.psu.edu Errors-To: 9fans-admin@cse.psu.edu X-BeenThere: 9fans@cse.psu.edu X-Mailman-Version: 2.0.11 Precedence: bulk Reply-To: 9fans@cse.psu.edu List-Id: Fans of the OS Plan 9 from Bell Labs <9fans.cse.psu.edu> List-Archive: Date: Wed, 3 Sep 2003 14:20:28 +0200 X-Spam-Status: No, hits=0.1 required=5.0 tests=RCVD_IN_OSIRUSOFT_COM,REFERENCES version=2.55 X-Spam-Level: X-Spam-Checker-Version: SpamAssassin 2.55 (1.174.2.19-2003-05-19-exp) > Frobbing exit[s] (and making it grok UTF-8?) are not evil designs on life, > the universe, and everything. it will behave just like it does now on plan 9 except you can go: exit "foo" now testing it is probably going to be a bugger. i did find this bug: /dev/std* were being used instead of /fd/* --upas-mjxgufskncryjhnbcekqjiebkp--