Skip to content

Environment Expansion

Derek Callaway edited this page Jun 15, 2018 · 1 revision

strglob wiki

Environment Expansion

strglob is capable of expanding environment variables from the command-line interface. As it's a string operation, it is accomplished with curly braces. A dollar sign should appear after the left curly brace. The name of the environment variable should appear after the dollar sign. The closing right curly brace comes after the variable name. See the syntax below for an example.


Example Input

{$LOGNAME}


Example Output

decal