Re: Bugs in bash (was: Release-critical Bugreport)
>>"Remco" == Remco Blaakmeer <email@example.com> writes:
Remco> I think bash should behave as a POSIX sh when called as sh. I
Remco> realize Debian may not be ready for this, but still I do think
I was under the impression that this already was the case.
File: bashref.info, Node: Bash Startup Files, Next: Is This Shell Interactive\
?, Prev: Invoking Bash, Up: Bash Features
If Bash is invoked with the name `sh', it tries to mimic the startup
behavior of historical versions of `sh' as closely as possible, while
conforming to the POSIX standard as well.
File: bashref.info, Node: What is Bash?, Next: What is a shell?, Up: Introdu\
What is Bash?
Bash is an `sh'-compatible shell that incorporates useful features
from the Korn shell `ksh' and the C shell `csh'. It is intended to be
a conformant implementation of the IEEE POSIX Shell and Tools
specification (IEEE Working Group 1003.2). It offers functional
improvements over `sh' for both interactive and programming use.
These definitions are used throughout the remainder of this manual.
A family of open system standards based on Unix. Bash is
concerned with POSIX 1003.2, the Shell and Tools Standard.
A shell builtin command that has been classified as special by the
File: bashref.info, Node: Major Differences From The Bourne Shell, Up: Other \
Bourne Shell Features
Major Differences From The SVR4.2 Bourne Shell
* Bash is POSIX-conformant, even where the POSIX specification
differs from traditional `sh' behavior.
File: bashref.info, Node: Bash POSIX Mode, Prev: The Restricted Shell, Up: B\
Bash POSIX Mode
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.2 standard by changing the behavior to match that
specified by POSIX.2 in areas where the Bash default differs.
Never commit yourself! Let someone else commit you.
Manoj Srivastava <firstname.lastname@example.org> <http://www.debian.org/%7Esrivasta/>
Key C7261095 fingerprint = CB D9 F4 12 68 07 E4 05 CC 2D 27 12 1D F5 E8 6E