zsh-workers
 help / color / mirror / code / Atom feed
From: Zoltan Hidvegi <hzoli@cs.elte.hu>
To: sinclair@dis.strath.ac.uk (Duncan Sinclair)
Subject: Re: execcmd() reordering
Date: Thu, 30 May 1996 21:10:58 +0200 (MET DST)	[thread overview]
Message-ID: <199605301909.VAA17820@turan.elte.hu> (raw)
In-Reply-To: <29937.833479537@dis.strath.ac.uk> from Duncan Sinclair at "May 30, 96 07:05:37 pm"

> >2) Now `nocorrect' must appear before any of the above.
> 
> Why?

Because nocorrect must be handled in parse.c.  It cannot be moved into
exec.c since exec.c deals with parsed commands and nocorrect affects
parsing.

> 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?

No.

> >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.

I like the present behaviour of magic_equal_subst.  Could you tell me an
example when a less restrictive behaviour is desirable?

> >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.
> 

You can use (foo **/*) &

Zoltan



  reply	other threads:[~1996-05-30 19:26 UTC|newest]

Thread overview: 13+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
1996-05-30 18:05 Duncan Sinclair
1996-05-30 19:10 ` Zoltan Hidvegi [this message]
1996-05-30 19:52   ` Barton E. Schaefer
1996-05-31 14:32     ` Hrvoje Niksic
  -- strict thread matches above, loose matches on Subject: below --
1996-05-31 10:15 Duncan Sinclair
1996-05-31 10:55 ` Zoltan Hidvegi
1996-05-31 11:58   ` Peter Stephenson
1996-05-31 16:28     ` Bart Schaefer
1996-05-28 11:34 $(nooutput) problem Zoltan Hidvegi
1996-05-30 16:58 ` execcmd() reordering Peter Stephenson
1996-05-30 18:00   ` Zoltan Hidvegi
1996-05-30 18:26     ` Barton E. Schaefer
1996-05-30 18:46       ` Zoltan Hidvegi
1996-05-30 18:41     ` Zoltan Hidvegi

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=199605301909.VAA17820@turan.elte.hu \
    --to=hzoli@cs.elte.hu \
    --cc=sinclair@dis.strath.ac.uk \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
Code repositories for project(s) associated with this public inbox

	https://git.vuxu.org/mirror/zsh/

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).