MPE/iX Shell and Utilities Reference Manual, Vol 2
sh(1) MPE/iX Shell and Utilities sh(1)
FCEDIT
contains the name of the default editor for the fc command. If this variable is not set,
the default is the ed command.
HISTFILE
contains the path name of a file to be used as the history file. When the shell starts,
the value of this variable overrides the default history file. See FILES.
HISTSIZE
contains the maximum number of commands that the shell keeps in the history file.
If this variable contains a valid number when the shell starts, it overrides the default
of 127.
HOME
contains your home directory. This is the default directory for the cd(1) command.
IFS
contains a series of characters to be use as internal field separator characters. During
word expansion (see Word Expansion), the presence of any of these characters within
a word causes that word to be split. In addition, the shell uses these characters to
separate values put into variables with the read command. Lastly, the first character
in the value of
IFS
separates the positional parameters in $∗ expansion. By default,
IFS
contains space, tab, and newline.
LINENO
contains the number of the line currently being executed by a shell script.
LINES
contains a numeric value that limits the number of output lines used by the select
statement in printing its menu.
MAIL
contains the path name of a mailbox.If
MAILPATH
is not set, the MPE/iX
Shell tells
you when new mail arrives in this file. The shell assumes that new mail has arrived if
the file modify time changes.
MAILCHECK
contains the number of seconds of elapsed time that must pass before checking for
mail; if not set, the default value is 600 seconds. When using the
MAIL
or
MAILPATH
variables, the MPE/iX Shell checks for mail before issuing a prompt.
MAILPATH
contains a list of mailbox files. This overrides the
MAIL
variable. The mailbox list is
separated by colons. If any name is followed by ?message or %message, sh dis-
plays the message if the corresponding file has changed. sh performs parameter and
command substitution on message and the variable
_
(temporarily) expands to the
name of the mailbox file. If no ?message or %message is present, the default mes-
sage is you have mail in $_..
Commands and Utilities 1-543