Shell - Sh (Bourne Shell)

> Procedural Languages > Bash Shell and (Unix|Linux) Utilities (XCU)

1 - About

There is some incompatibility between bash and sh.

For example, see brace expansion.

If strict compatibility with sh is desired:

  • start bash with the +B option
  • or disable brace expansion with the +B option to the set command.

3 - Documentation / Reference