Zsh Mailing List Archive
Messages sorted by:
Reverse Date,
Date,
Thread,
Author
Re: [PATCH] make 'set +o' useful and POSIX compatible
- X-seq: zsh-workers 38042
- From: Bart Schaefer <schaefer@xxxxxxxxxxxxxxxx>
- To: Zsh hackers list <zsh-workers@xxxxxxx>
- Subject: Re: [PATCH] make 'set +o' useful and POSIX compatible
- Date: Sat, 27 Feb 2016 21:27:39 -0800
- Dkim-signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=brasslantern-com.20150623.gappssmtp.com; s=20150623; h=from:message-id:date:in-reply-to:comments:references:to:subject :mime-version; bh=aJfG/Ree3fOz7nN8BH4uhzH40skf7OD3+1n+UDVgM8Y=; b=dA5h0QKVZsmNGLA27OEtLxbeHRVfTAo7clm25tyRT/7TcSN0D0p3uC3nKjlMglUWjr tw61yNRo8VYhcJzY4spMPXByvvXIsSPn4cAmZnJgETuPQtbMKD668X2iK5D0Cfuhha7O 5bU2dJDktAVwKut+MxAqDgwtKOviDpRajsfESZLEAZR9kPXrR3wbUaI4B4bW/5EkbLg5 cb0JHGxN/kvWZo27dDHdaX0JUMllv/dSpaJUwcngICF7sMKeC/T48BzOKfedpxZuwBO4 voEj5IWvSCK1SZY4KFxfEzbjUYR/ITX+UJLw8U1CWHU+sMWVqYGVxyyXSxPvmJsjpy01 hq9Q==
- In-reply-to: <56D113E0.4090609@inlv.org>
- List-help: <mailto:zsh-workers-help@zsh.org>
- List-id: Zsh Workers List <zsh-workers.zsh.org>
- List-post: <mailto:zsh-workers@zsh.org>
- Mailing-list: contact zsh-workers-help@xxxxxxx; run by ezmlm
- References: <56D113E0.4090609@inlv.org>
On Feb 27, 4:11am, Martijn Dekker wrote:
}
} On zsh (as well as all pdksh variants), 'set +o' is currently inadequate
} for that purpose because it only outputs the currently active shell
} options, and not the inactive ones.
This is almost certainly not coincidental. In the early years of zsh
development, ksh was only available on closed-source UNIX platforms,
so any ksh-isms that were incorporated were either derived from reading
man pages (which led by misunderstanding to the "coproc" command and
an unusual syntax for writing base-N values in arithmetic context) or
borrowed from pdksh.
I don't see any reason not to accept this patch.
Messages sorted by:
Reverse Date,
Date,
Thread,
Author