From mboxrd@z Thu Jan 1 00:00:00 1970 Received: from colossus.apple.com ([130.43.2.6]) by hawkwind.utcs.toronto.edu with SMTP id <2704>; Thu, 23 Sep 1993 17:31:17 -0400 Received: from talisman.kaleida.com by colossus.apple.com with SMTP (5.65/22-Jun-1993-eef) id AA27982; Thu, 23 Sep 93 14:02:39 -0700 for Received: from phaahr.kaleida.com by talisman.kaleida.com (4.1/SMI-4.1) id AA00244; Thu, 23 Sep 93 14:00:37 PDT Message-Id: <9309232100.AA00244@talisman.kaleida.com> Date: Thu, 23 Sep 1993 18:02:26 -0400 To: Arnold Robbins From: haahr@kaleida.com (Paul Haahr) X-Sender: haahr@talisman.kaleida.com Subject: Re: forking builtins Cc: rc@hawkwind.utcs.toronto.edu >althouh i'm sure to be flamed for mentioning the name 'ksh', much of that >shell's performance comes from strenous effort to avoid forking of builtins >upon redirection. it's not that hard conceptually, it just takes some effort to make sure you catch every reference to file descriptors. Byron and i came up with a strategy for es that works. see es's fd.c for details. but strenuous it is not. >i am not advocating that byron rework rc or anything like that. except for >read, it's not a major problem with the other builtiins, i'm just remarking >upon it. echo could also use it.