Open System Services Shell and Utilities Reference Manual (G06.25+, H06.03+)

User Commands (m - o) osh(1)
The default value is -jobid -1.
-lib pathname Species the OSS pathname of a user library le in the Guardian le system to be
used by the child process; the program le for the child process is modied to
point to the specied library.
Use of this option requires write access to the program le for the child process.
The library le must be in the Guardian le system on the same HP node as the
program le for the child process.
This option is needed only when a child process requires a user library and an
alternate is needed. The default action is to run the child process with no
modication to its user library usage.
+lib Species that the child process is to run without any user library le; the program
le for the child process is modied so that it does not point to a library.
Use of this option requires write access to the program le for the child process.
This option is needed only when a child process has used a user library that is no
longer needed. The default action is to run the child process with no modication
to its user library usage.
-ls Species that the child process is a login shell. The last pathname in the argv[0]
value passed to the child process is prexed by a minus (-), indicating that the
/etc/prole and $HOME/.prole les should be run.
Refer to the rules later in this reference page under Process Environment for
more information on the source of the values used for the initial login and current
working directories.
If the osh command is used without specifying either the -p or -prog option, then
the -ls option is the default option and causes execution of the /bin/sh le as a
login shell.
+ls Species that the child process is not a login shell (the value passed to the child
process in argv[0] is not changed).
The osh command sets the current working directory for the child process to the
directory specied by the current value of the PWD PARAM. If the PWD
PARAM is not specied, osh command sets the current working directory for the
child process to the current Guardian le system default volume and subvolume
(as indicated in the =_DEFAULTS DEFINE). Refer to the rules later in this refer-
ence page under Process Environment for more information on the source of the
value used for this directory.
If the osh command is used with either the -p or -prog option, then the +ls option
is the default option.
-name {/G/ | /E/nodename/G/}processname
Starts the child process as a named process using the specied name; processname
must conform to Guardian process name rules for length.
If /G/ or /E/nodename/G/ is omitted, the full lename of the process is resolved
using Guardian environment rules. Refer to the RUN command description in the
TACL Reference Manual for the rules affecting process name length and resolu-
tion.
The rules for mapping between Guardian lenames and OSS pathnames mean that
processname cannot begin with the dollar sign ($) used in the Guardian environ-
ment. Similarly, nodename cannot begin with the backslash (\) character used in
527188-003 Hewlett-Packard Company 695