readonly - mark variables as readonly.
readonly [-aprx] [name[=value] ...]
readonly is a POSIX special builtin provided by Rush. It marks variables as readonly. Assignment operands set a value before applying the attribute. Without operands, it prints readonly declarations.
-a-p-r-x--Zero on success, one when a declaration fails, and two for invalid options or, in POSIX mode, invalid identifiers.
rush-builtins(7), declare(1), export(1), POSIX Shell Command Language.