Differences

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

Link to this comparison view

Both sides previous revision Previous revision
commands:builtin:readonly [2011/01/04 05:59]
thebonsai [Return status]
commands:builtin:readonly [2017/10/17 20:18] (current)
ben_bash [Description]
Line 9: Line 9:
 ===== Description ===== ===== Description =====
  
-The ''​readonly''​ builtin command is used to mark variables or functions as read-only, which means unchangableTis implies that it can't be unset anymore.+The ''​readonly''​ builtin command is used to mark variables or functions as read-only, which means unchangeableThis implies that it can't be unset anymore.  A ''​readonly''​ variable may not be redefined in child scopes. ​ A readonly global may not be redefined as a function local variable. ​ Simple command environment assignments may not reference readonly variables
  
 ==== Options ==== ==== Options ====
  • commands/builtin/readonly.1294120773.txt
  • Last modified: 2011/01/04 05:59
  • by thebonsai