How to access an environment variable with .(dot) in the name

Asked

Viewed 62 times

0

Hello, can anyone tell me how to access an environment variable with .(dot) in the name using linux terminal

1 answer

3


Apparently this is not possible (in BASH). Only alphanumeric characters and underscores are allowed.

export [-fn] [name[=word]] ...

name   A  word  consisting  only  of alphanumeric characters and under‐
      scores, and beginning with an alphabetic character or an  under‐
      score.  Also referred to as an identifier.

Source in English: https://unix.stackexchange.com/questions/93532/exporting-a-variable-with-dot-in-it

Browser other questions tagged

You are not signed in. Login or sign up in order to post.