Current Host Name (_h)
The _h convenience variable holds the DCE name of the current host. The dcecp program sets this variable when dcecp is invoked. Setting it using set
generates an error.
dcecp> puts $_h hosts/planets dcecp>
The _h variable is useful for returning the name of the host to an interactive user. You can also use it with the _c variable to construct names such as a host principal name in a
script.
dcecp> puts $_c/$_h/self /.../my_cell.goodco.com/hosts/planets/self dcecp>
|