GSP
Quick Navigator

Search Site

Unix VPS
A - Starter
B - Basic
C - Preferred
D - Commercial
MPS - Dedicated
Previous VPSs
* Sign Up! *

Support
Contact Us
Online Help
Handbooks
Domain Status
Man Pages

FAQ
Virtual Servers
Pricing
Billing
Technical

Network
Facilities
Connectivity
Topology Map

Miscellaneous
Server Agreement
Year 2038
Credits
 

USA Flag

 

 

Man Pages
READONLY(1) Korn Shell READONLY(1)

readonly - set readonly attribute on variables

readonly [flags] [name[=value]...]

readonly 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.

-p
Causes the output to be in a form of readonly commands that can be used as input to the shell to recreate the current set of readonly variables.

0
Successful completion.
>0
An error occurred.

sh(1), declare(1), typeset(1)

David J. Korn, et. al.

2019, David J. Korn, et.al.
October 3, 2019

Search for    or go to Top of page |  Section 1 |  Main Index

Powered by GSP Visit the GSP FreeBSD Man Page Interface.
Output converted with ManDoc.