zsh-workers
 help / color / mirror / code / Atom feed
From: Zefram <A.Main@dcs.warwick.ac.uk>
To: zsh-workers@math.gatech.edu (Z Shell workers mailing list)
Cc: hzoli@cs.elte.hu
Subject: options shenanigans in pre4
Date: Fri, 26 Jul 1996 23:53:55 +0100 (BST)	[thread overview]
Message-ID: <18307.199607262253@stone.dcs.warwick.ac.uk> (raw)

I'm not going to provide actual patches for any of the things I point
out as needing fixing here.  They're all very minor issues, and the
patches are trivial.

The pre4 patch says:
[Doc/zshexpn.man]
>+ preceding the set of five substitutions mentioned above.
>+ is
>  .SH FILENAME EXPANSION

Where did that "is" come from?  It's obviously a typo, and should be
removed.

[Doc/zshoptions.man]
>! \fBSHIN_STDIN\fP (\-\fBs\fP, ksh: \-\fBs\fP)
>--- 467,473 ----
>! \fBSHIN_STDIN\fP (\-\fBs\fP)

{setopt ramble localoptions
Hmm, I didn't notice that ksh handled this differently from sh.  Maybe
we *do* need a third set of option letters, though this seems to be the
only actual incompatibility.  We might want to implement the ksh option
at some point too.
}

>+ \fBSH_OPTION_LETTERS\fP
>+ If this option is set the shell tries to interpret single letter options
>+ (which are used with \fBset\fP and \fBsetopt\fP) like \fIksh\fP does.
>+ This also affects the value of the \fB-\fP special parameter.

Virtually identical to a patch I was planning to produce after the pre4
release.  I was going to call it KSH_OPTION_LETTERS, though, because
the set of options it selects are emulating ksh, not sh.  The other
option names that refer to ksh or sh do get the right one, so you might
actually want to change this.

>+ .BR sh / ksh
>+ emulation set:
...
>+ \-\fBs\fP SHIN_STDIN

Should not now be included in this list.

[Src/builtin.c]
>!     emulate(*argv, ops['R']);

Once again we have exactly the same idea.

-zefram



             reply	other threads:[~1996-07-26 23:03 UTC|newest]

Thread overview: 5+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
1996-07-26 22:53 Zefram [this message]
1996-07-26 23:35 ` Zefram
1996-07-27 21:01 ` Zoltan Hidvegi
1996-07-27 21:48   ` Zefram
1996-07-27 22:01     ` 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=18307.199607262253@stone.dcs.warwick.ac.uk \
    --to=a.main@dcs.warwick.ac.uk \
    --cc=hzoli@cs.elte.hu \
    --cc=zsh-workers@math.gatech.edu \
    /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).