|
NAMEreadonly - set readonly attribute on variablesSYNOPSISreadonly [flags] [name[=value]...] DESCRIPTIONreadonly sets the readonly attribute on each of the variables specified by name which prevents their values from being changed. If =value is specified, the variable name is set to value before the variable is made readonly.Within a type definition, if the value is not specified, then a value must be specified when creating each instance of the type and the value is readonly for each instance. If no names are specified then the names and values of all readonly variables are written to standard output. readonly is built-in to the shell as a declaration command so that field splitting and pathname expansion are not performed on the arguments. Tilde expansion occurs on value. FLAGS
EXIT STATUS
SEE ALSOsh(1), declare(1), typeset(1)AUTHORDavid J. Korn, et. al.COPYRIGHT2019, David J. Korn, et.al.
Visit the GSP FreeBSD Man Page Interface. |