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
Last revision Both sides next revision
commands:builtin:readonly [2011/01/03 17:33]
thebonsai [Portability considerations]
commands:builtin:readonly [2011/01/04 05:59]
thebonsai [Return status]
Line 9: Line 9:
 ===== Description ===== ===== Description =====
  
-The ''​readonly''​ builtin command is used to mark variables or functions as read-only, which means unchangable, which implies it can't be unset anymore.+The ''​readonly''​ builtin command is used to mark variables or functions as read-only, which means unchangable. Tis implies ​that it can't be unset anymore.
  
 ==== Options ==== ==== Options ====
Line 22: Line 22:
 ==== Return status ==== ==== Return status ====
  
-The return status is unless an invalid option ​or an invalid combination of options ​is given or a ''​NAME''​ is invalid.+^Status ​ ^Reason ​ ^ 
 +|   |no error  | 
 +|!=0  |invalid option ​ | 
 +|!=0  |invalid combination of options ​ | 
 +|!=0  |given ''​NAME''​ is invalid ​ |
  
 ===== Examples ===== ===== Examples =====
  • commands/builtin/readonly.txt
  • Last modified: 2017/10/17 20:18
  • by ben_bash