Home Man
Today's Posts

Linux & Unix Commands - Search Man Pages

OpenDarwin 7.2.1 - man page for unset (opendarwin section n)

unset(n)			      Tcl Built-In Commands				 unset(n)


       unset - Delete variables

       unset ?-nocomplain? ?--? ?name name name ...?

       This  command  removes  one or more variables.  Each name is a variable name, specified in
       any of the ways acceptable to the set command.  If a name refers to an element of an array
       then  that element is removed without affecting the rest of the array.  If a name consists
       of an array name with no parenthesized index, then the entire array is deleted.	The unset
       command returns an empty string as result.  If -nocomplain is specified as the first argu- |
       ment, any possible errors are suppressed.  The option may not be abbreviated, in order  to |
       disambiguate  it  from  possible  variable  names.  The option -- indicates the end of the |
       options, and should be used if you wish to remove a variable with the same name as any  of |
       the  options.  If an error occurs, any variables after the named one causing the error not
       deleted.  An error can occur when the named variable doesn't exist, or the name refers  to
       an  array element but the variable is a scalar, or the name refers to a variable in a non-
       existent namespace.

       set(n), trace(n)

       remove, variable

Tcl					       8.4					 unset(n)

All times are GMT -4. The time now is 01:33 AM.

Unix & Linux Forums Content Copyrightę1993-2018. All Rights Reserved.
Show Password