POSIX vs. bashism? ($VAR vs. ${VAR})

Maximilian Wilhelm max at rfc2324.org
Wed Jul 7 14:52:19 CEST 2004


Moin!

Folgender Kommentar zu ner CVS-Aenderung von mir uebersteig mein Wissen,
kann einer der Experten fuer Erleuchtung sorgen? :-)

| >   -if [ -z "$MSG" ] ; then
| >   +if [ -z "${MSG}" ] ; then
| 
| This change do not match the commit log.  Do you know if this notation
| is POSIX compliant?  I use "$VAR" instead of "${VAR}" because I
| believe the former is POSIX while the latter is a bashism.  Do you
| know if I am right?


Ciao & Danke
Max
-- 
	Follow the white penguin.



More information about the Linux mailing list