* set -I is not required by standard, and does not match bash
@ 2021-01-04 12:22 Denys Vlasenko
2021-01-04 12:49 ` Herbert Xu
2021-01-04 21:19 ` Harald van Dijk
0 siblings, 2 replies; 3+ messages in thread
From: Denys Vlasenko @ 2021-01-04 12:22 UTC (permalink / raw)
To: Herbert Xu, DASH shell mailing list
Hello,
In dash, set -I is a short-option alias to set -o ignoreeof.
However, bash does not have such alias, it has an undocumented
set -I which switches off "invisible variables"
(I don't know what that is).
Standards do not mention any -I option.
I propose, in the interests of keeping things less disparate,
to remove set -I support from dash: make "ignoreeof" to be
only an -o long option.
^ permalink raw reply [flat|nested] 3+ messages in thread
* Re: set -I is not required by standard, and does not match bash
2021-01-04 12:22 set -I is not required by standard, and does not match bash Denys Vlasenko
@ 2021-01-04 12:49 ` Herbert Xu
2021-01-04 21:19 ` Harald van Dijk
1 sibling, 0 replies; 3+ messages in thread
From: Herbert Xu @ 2021-01-04 12:49 UTC (permalink / raw)
To: Denys Vlasenko; +Cc: DASH shell mailing list
On Mon, Jan 04, 2021 at 01:22:30PM +0100, Denys Vlasenko wrote:
> Hello,
>
> In dash, set -I is a short-option alias to set -o ignoreeof.
>
> However, bash does not have such alias, it has an undocumented
> set -I which switches off "invisible variables"
> (I don't know what that is).
>
> Standards do not mention any -I option.
>
> I propose, in the interests of keeping things less disparate,
> to remove set -I support from dash: make "ignoreeof" to be
> only an -o long option.
This option goes all the way back to BSD. Unless they have all
removed this option I'm not going to change it.
Cheers,
--
Email: Herbert Xu <herbert@gondor.apana.org.au>
Home Page: http://gondor.apana.org.au/~herbert/
PGP Key: http://gondor.apana.org.au/~herbert/pubkey.txt
^ permalink raw reply [flat|nested] 3+ messages in thread
* Re: set -I is not required by standard, and does not match bash
2021-01-04 12:22 set -I is not required by standard, and does not match bash Denys Vlasenko
2021-01-04 12:49 ` Herbert Xu
@ 2021-01-04 21:19 ` Harald van Dijk
1 sibling, 0 replies; 3+ messages in thread
From: Harald van Dijk @ 2021-01-04 21:19 UTC (permalink / raw)
To: Denys Vlasenko, Herbert Xu, DASH shell mailing list
On 04/01/2021 12:22, Denys Vlasenko wrote:
> Hello,
>
> In dash, set -I is a short-option alias to set -o ignoreeof.
>
> However, bash does not have such alias, it has an undocumented
> set -I which switches off "invisible variables"
> (I don't know what that is).
bash does not have any set -I. bash *had* a set -I, but dropped it in
version 5.1, so there is no longer a compatibility issue to worry about.
Cheers,
Harald van Dijk
^ permalink raw reply [flat|nested] 3+ messages in thread
end of thread, other threads:[~2021-01-04 21:20 UTC | newest]
Thread overview: 3+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2021-01-04 12:22 set -I is not required by standard, and does not match bash Denys Vlasenko
2021-01-04 12:49 ` Herbert Xu
2021-01-04 21:19 ` Harald van Dijk
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).