Environment Variables
The control program supports environment variables. Using environment variables facilitates interactive use of the control program.
To distinguish environment variables, rpccp*(8rpc) reference pages follow the convention of using all uppercase letters for examples of environment variables. Note that UNIX environment
variables are case sensitive.
User-defined environment variables You can set an environment variable to represent values to rpccp. Using an environment variable is helpful for specifying a long
string such as the following:
· A string representation of binding information (binding string)
· A string representation of an object or interface UUID (string UUID)
· An interface identifier (the interface UUID and version numbers)
· The name of a name service entry For example, in the following example, the environment variable JANE_CAL represents an object UUID; the
target name service entry, /.:/LandS/anthro/Cal_host_2, is in the local cell:
$ JANE_CAL=47f40d10-e2e0-11c9-bb29-08002b0f4528 $ export JANE_CAL
$ rpccp rpccp> export -o JANE_CAL /.:/LandS/anthro/Cal_host_2
|