You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
The POSIX standards on shells section of IEEE Std 1003.1-2008 / IEEE POSIX P1003.2/ISO 9945.2 Shell and Tools standard doesn't define the lexical convention for variable names, nonetheless, as described here, we could make sure the value comply with regex ^[a-zA-Z_][a-zA-Z0-9_]*$ in order to cover most usecases.
Having it in is would help validating environment variables
The text was updated successfully, but these errors were encountered:
The POSIX standards on shells section of IEEE Std 1003.1-2008 / IEEE POSIX P1003.2/ISO 9945.2 Shell and Tools standard doesn't define the lexical convention for variable names, nonetheless, as described here, we could make sure the value comply with regex
^[a-zA-Z_][a-zA-Z0-9_]*$
in order to cover most usecases.Having it in
is
would help validating environment variablesThe text was updated successfully, but these errors were encountered: