Setting Variables in Your Shell

Qedit 5.7 for HP-UX

Home Previous Next


Setting Variables in Your Shell

You must set and export environment variables before you invoke Qedit. The syntax for setting environment variables depends on which shell you are using.

Bourne (sh) and Korn (ksh) shells:

$export RCRTMODEL=2

In some versions of the POSIX shell, you might have to split the previous command in two:

$RCRTMODEL=2
$export RCRTMODEL

C shell (csh):

%setenv RCRTMODEL 2

Remember to always type the variable name in uppercase letters. The Bourne and Korn shells do not allow spaces before the "=". To check your environment variables use:

Bourne (sh) and Korn (ksh) Shells:

$env

C Shell (csh):

%printenv


Home Previous Next