UnSetEnv Command

Overview

Removes (undefines) shell's environment variables.

syntax:unsetenv pattern
description:   Removes all environment variables whose name match pattern. 'unsetenv *' thus effectively removes all environment variables; this is a bad idea. It is not an error for nothing to be unset.
arguments: pattern pattern defines the set of matching variable names. It can include wildcards ('*', and '?'). '*' matches any number of characters, and '?' matches any character at a given position.
options: (none)

Error Conditions

No Error Conditions defined

Return Codes

0Success

Where to go next?

Copyright © 1999 Design & Test Center