Afficher un message
Vieux 02/11/2006, 10h26   #8
Yakov
Aucun Avatar
 
Messages: n/a
Hébergeur:
Par défaut Re: strictly posix shell mode ?

Stephane CHAZELAS wrote:
> 2006-11-1, 13:14(-08), Yakov:
> > I'm looking for the flag (in bash or ksh or zsh) that disables all
> > extensions above posix and make shell strictly posix-compliant
> > (without any additions).
> >
> > I found '--posix' flag of bash, but it's something different:
> > it doesn't seem to disable bash-specific extensions. It
> > "Changes the behavior of bash where the default operation *differs*
> > from the POSIX". For example, the ((...)) construct is still
> > interpreted
> > with --posix.
> >
> > So, is there "restrict to posix" flag to bash/ksg/zsh ? (I don't have
> > ash)

> [...]
>
> posh (Policy-compliant Ordinary SHell, based on pdksh) is an
> attempt at writing a shell with as few extensions as possible.
> That's probably the closest you can get for your requirement.


posh turns out to be the true answer to my question.
Thanks Stéphane, you did it again.

Yakov

  Réponse avec citation
 
Page generated in 0,04714 seconds with 9 queries