Rocksolid Light

News from da outaworlds

mail  files  register  groups  login

Message-ID:  

BOFH excuse #60: system has been recalled


comp / comp.unix.shell / Re: Which shell and how to get started handling arguments

SubjectAuthor
o Re: Which shell and how to get started handling argumentsJanis Papanagnou

1
Subject: Re: Which shell and how to get started handling arguments
From: Janis Papanagnou
Newsgroups: comp.unix.shell
Organization: A noiseless patient Spider
Date: Tue, 16 Apr 2024 08:19 UTC
References: 1 2 3
Path: eternal-september.org!news.eternal-september.org!.POSTED!not-for-mail
From: janis_papanagnou+ng@hotmail.com (Janis Papanagnou)
Newsgroups: comp.unix.shell
Subject: Re: Which shell and how to get started handling arguments
Date: Tue, 16 Apr 2024 10:19:19 +0200
Organization: A noiseless patient Spider
Lines: 25
Message-ID: <uvlca8$ri3l$1@dont-email.me>
References: <uvj65n$9aep$1@dont-email.me> <uvjfpn$b4oi$1@dont-email.me>
<8734rms479.fsf@nosuchdomain.example.com>
MIME-Version: 1.0
Content-Type: text/plain; charset=windows-1252
Content-Transfer-Encoding: 7bit
Injection-Date: Tue, 16 Apr 2024 10:19:21 +0200 (CEST)
Injection-Info: dont-email.me; posting-host="942fbb4b132035db610abfb16691a51f";
logging-data="903285"; mail-complaints-to="abuse@eternal-september.org"; posting-account="U2FsdGVkX19tNYRPuSKyXsl+2ojxd8Lp"
User-Agent: Mozilla/5.0 (X11; Linux x86_64; rv:45.0) Gecko/20100101
Thunderbird/45.8.0
Cancel-Lock: sha1:ohlvcgJLQC8JFWknljMa2MpsQcY=
In-Reply-To: <8734rms479.fsf@nosuchdomain.example.com>
X-Enigmail-Draft-Status: N1110
View all headers

On 15.04.2024 23:31, Keith Thompson wrote:
>
> Bash has an option that tells it to (attempt to) restrict itself to
> POSIX semantics:
>
> Starting Bash with the '--posix' command-line option or executing
> 'set -o posix' while Bash is running will cause Bash to conform more
> closely to the POSIX standard by changing the behavior to match that
> specified by POSIX in areas where the Bash default differs.
>
> I haven't used this option myself, and I don't know just how closely it
> actually conforms to POSIX.
>
> I'm less familiar with ksh and zsh, but they probably have similar
> options. At least the "MirBSD Korn shell" has "set -o posix".

The branch ksh93u+m has it...

$ set -o | grep -i posix
posix off

But original ksh93u+ doesn't show such an option.

Janis

1

rocksolid light 0.9.8
clearnet tor