From mboxrd@z Thu Jan 1 00:00:00 1970 Received: from euclid.skiles.gatech.edu (list@euclid.skiles.gatech.edu [130.207.146.50]) by melb.werple.net.au (8.7.5/8.7.3) with ESMTP id EAA04803 for ; Fri, 31 May 1996 04:21:08 +1000 (EST) Received: (from list@localhost) by euclid.skiles.gatech.edu (8.7.3/8.7.3) id OAA27041; Thu, 30 May 1996 14:05:58 -0400 (EDT) Resent-Date: Thu, 30 May 1996 14:05:58 -0400 (EDT) To: Peter Stephenson cc: zsh-workers@math.gatech.edu (Zsh hackers list) Subject: Re: execcmd() reordering In-reply-to: Your message of "Thu, 30 May 1996 18:58:29 +0200." Date: Thu, 30 May 1996 19:05:37 +0100 Message-ID: <29937.833479537@dis.strath.ac.uk> From: Duncan Sinclair Resent-Message-ID: <"qiha8.0.Rc6.5EUhn"@euclid> Resent-From: zsh-workers@math.gatech.edu X-Mailing-List: archive/latest/1231 X-Loop: zsh-workers@math.gatech.edu Precedence: list Resent-Sender: zsh-workers-request@math.gatech.edu Peter wrote about exec stuff: >Here's a biggish patch which does that. ... >2) Now `nocorrect' must appear before any of the above. Why? >3) Also, variable assignment must appear before exec and friends. >Again, this is natural and is required in other Bourne shell clones. There's a flag (-k, I think) which will allow the bourne shell to take variable assignments at any point of the command - does this work? >5) `noglob typeset foo=~/file' do not do tilde expansion without... >Maybe we should change. Even >magic_equal_subst is fairly sparing about when to expand: it insists >on the text before the = consisting only of characters which appear in >identifiers, something I wrote but now rather regret. Is this the stuff we argued about years ago? I'm all for a change here. >6) globbing is expanded before the fork. I don't like this at all. >Other than getting the >prompt back an iota later when running background commands, I don't >see this is a big deal. When you've got a *huge* expansion which is 50% of the run-time of the command, I'd like to be able to get on with other things. > (vii) I get extra brownie points for doing this the week before the > annual lattice field theory conference where I'm giving a > talk. Please don't tell my collaborators :-). Have fun! Duncan.