Hello.. and thanks in advance for any help anyone can offer me to figure this out
I'm reading about the about the Bash shell... and I've read from many sources that to make Bash POSIX compliant it needs "extensions"... Which sounds to me like something I should be able to load into Bash to do this... I've tried googling the subject but can't seem to find any detail about this subject... What little I can find basically says nothing more than "Bash needs extensions"
Is there a way I can view the extensions Bash is loading? Load or unload them? Configure them differently?
Once again... thanks for any help!
What are Bash POSIX extensions?
Re: What are Bash POSIX extensions?
Where have you read this? I'm not aware of this. Instead bash offers extensions to the POSIX standard.bodisha wrote:and I've read from many sources that to make Bash POSIX compliant it needs "extensions"
There is a "Bash POSIX Mode" causing Bash to conform more closely to the POSIX standard: https://www.gnu.org/software/bash/manua ... -Mode.html
Maybe this is what your up to?
German speaking forum for Fedora and CentOS: https://www.fedoraforum.de/
Re: What are Bash POSIX extensions?
Thanks for the reply
Here's a quote from one of the explanations I've read that mentioned extensions
https://stackoverflow.com/questions/572 ... h-and-bash
Thanks
I might not have phrased it correctly.... But what are the extensions you're talking about? An extension sounds like something that needs to be loaded into Bash to me... After giving it some thought I started wondering if extensions were compiled into bash.... Could I ask you to elaborate one what you're calling and extension and how they're introduced into bash?Where have you read this? I'm not aware of this. Instead bash offers extensions to the POSIX standard
Here's a quote from one of the explanations I've read that mentioned extensions
It came from a posting about Bash at stackoverflow.combash started as an sh-compatible implementation (although it predates the POSIX standard by a few years), but as time passed it has acquired many extensions. Many of these extensions may change the behavior of valid POSIX shell scripts, so by itself bash is not a valid POSIX shell. Rather, it is a dialect of the POSIX shell language.
bash supports a --posix switch, which makes it more POSIX-compliant. It also tries to mimic POSIX if invoked as sh.
https://stackoverflow.com/questions/572 ... h-and-bash
Thanks
Re: What are Bash POSIX extensions?
Everything bash offers what the POSIX standard does not define. There are a few listed in the link from my earlier post, and here are some of them listed, too:bodisha wrote:But what are the extensions you're talking about?
http://mywiki.wooledge.org/Bashism
German speaking forum for Fedora and CentOS: https://www.fedoraforum.de/