[linux-l] Umgebungsvariable mit . im Namen
Rocco Melzian
Rocco.Melzian at TU-Berlin.de
Do Aug 9 09:22:44 CEST 2007
Hallo,
ich möchte eine Umgebungsvariable mit einem Punkt im Namen setzen.
So habe ich es sonst gemacht ...
me at dirac:> ABLE_PREFDIR='/tmp'
me at dirac:> export ABLE_PREFDIR
me at dirac:> env | grep ABLE
ABLE_PREFDIR=/tmp
Nun verlangt die Software einen Punkt im Variablennamen:
me at dirac:> ABLE.PREFDIR='/tmp'
-bash: ABLE.PREFDIR=/tmp: No such file or directory
me at dirac:> set ABLE.PREFDIR='/tmp'
me at dirac:> export ABLE.PREFDIR
-bash: export: `ABLE.PREFDIR': not a valid identifier
Letzter Versuch
me at dirac:> set 'ABLE.PREFDIR'='/tmp'
me at dirac:> export ABLE.PREFDIR
-bash: export: `ABLE.PREFDIR': not a valid identifier
me at dirac:> set 'ABLE\.PREFDIR'='/tmp'
me at dirac:> export ABLE.PREFDIR
-bash: export: `ABLE.PREFDIR': not a valid identifier
me at dirac:> export ABLE\.PREFDIR
-bash: export: `ABLE.PREFDIR': not a valid identifier
Kann mir jemand einen Tipp geben?
Grüße
Rocco
Mehr Informationen über die Mailingliste linux-l