SYNOPSIS
gvar
DESCRIPTION
The gvar command displays a dialog box with property sheets for setting or viewing common KornShell variables, parameters, functions, and aliases. The property sheets displayed are:
- Variables
-
Display, add, delete, or modify any environment variable. To add an environment variable, click the Add button and define the variable name and value in the edit fields. The Attributes property sheet lets you define
To edit a variable, click the variable name to highlight it, then change the name, value, or attributes as necessary. - Positional Parameters
-
Display all current positional parameters.
- Functions
-
Display the name of all currently set KornShell functions. To remove or view a function, click the function name to highlight it, then click the appropriate button.
- Aliases
-
Display, add, delete, or modify any current shell system aliases. To add an alias, click the Add button and define the alias name and value in the edit fields. To modify an alias, click the alias name to highlight it, then click Modify and change the alias name or value. To delete an alias, highlight the alias and click Delete.
DIAGNOSTICS
Possible exit status values are:
NOTE
gvar is built into the MKS KornShell.
PORTABILITY
Windows 8.1. Windows Server 2012 R2. Windows 10. Windows Server 2016. Windows Server 2019. Windows 11. Windows Server 2022.
AVAILABILITY
PTC MKS Toolkit for Power Users
PTC MKS Toolkit for System Administrators
PTC MKS Toolkit for Developers
PTC MKS Toolkit for Interoperability
PTC MKS Toolkit for Professional Developers
PTC MKS Toolkit for Professional Developers 64-Bit Edition
PTC MKS Toolkit for Enterprise Developers
PTC MKS Toolkit for Enterprise Developers 64-Bit Edition
SEE ALSO
Using the MKS KornShell
PTC MKS Toolkit 10.4 Documentation Build 39.