From mboxrd@z Thu Jan 1 00:00:00 1970 Received: from oldp.astro.wisc.edu ([128.104.39.15]) by hawkwind.utcs.toronto.edu with SMTP id <2192>; Tue, 21 Sep 1993 11:15:43 -0400 Received: by oldp.astro.wisc.edu (5.65/DEC-Ultrix/4.3) id AA00524; Tue, 21 Sep 1993 10:15:26 -0500 Message-Id: <9309211515.AA00524@oldp.astro.wisc.edu> To: rc@hawkwind.utcs.toronto.edu Subject: Re: Thoughts on a builtin read Date: Tue, 21 Sep 1993 11:15:26 -0400 From: Alan Watson X-Mts: smtp >This is an inconsistency. I'd very much prefer the usual > "x = `read" > or "x = `` ( $some_ifs_list ) { read }" Something along the lines of: fn read { if (builtin read LINE) { echo $LINE return 0 } else { echo $LINE return 1 } } I would not mind Malte's suggestion as the primitive -- it seems fairly easy to convert one to the other with a simple function.