Differences

This shows you the differences between two versions of the page.

Link to this comparison view

Both sides previous revision Previous revision
Next revision
Previous revision
commands:builtin:unset [2013/05/03 23:52]
ormaaj subscript short-circuit
commands:builtin:unset [2015/07/31 01:05] (current)
fgrose [Synopsis] f or v names separated by space
Line 4: Line 4:
  
 <​code>​ <​code>​
-unset [-f] [-v] [NAME...]+unset [-f|v] [-n] [NAME ...]
 </​code>​ </​code>​
  
Line 14: Line 14:
 ==== Options ==== ==== Options ====
  
-^Option ​ ^Description ​ +^ Option ​ ^ Description ​                                                                                                    ​
-|''​-f'' ​ |treats each ''​NAME''​ as a function name  +| ''​-f'' ​ | treats each ''​NAME''​ as a function name                                                                         ​
-|''​-v'' ​ |treats each ''​NAME''​ as a variable name  |+| ''​-v'' ​ | treats each ''​NAME''​ as a variable name                                                                         | 
 +| ''​-n'' ​ | treats each ''​NAME''​ as a name reference and unsets the variable itself rather than the variable it references ​ |
  
-==== Return ​status ====+==== Exit status ====
  
 ^Status ​ ^Reason ​ ^ ^Status ​ ^Reason ​ ^