bash-term-in-posix-shell
This script is marked as running under /bin/sh
, but it seems
to use a feature found in bash but not in the SUSv3 or POSIX shell
specification.
Some examples are:
==
in a test, it should use=
insteadread
without a variable in the argumentfunction
to define a functionsource
instead of.
. command args
, passing arguments to commands viasource
is not supported{foo,bar}
instead offoo bar
[[ test ]]
instead of[ test ]
(requires a Korn shell)type
instead ofwhich
orcommand -v
Severity: | info |
Experimental: | false |
See also
- list of all the affected packages
- the source of this tag