
k
ksh(1) |
|
|
| ksh(1) |
| noexec | Same as |
| |
| noglob | Same as |
| |
| nolog | Do not save function de®nitions in history ®le. | ||
| nounset | Same as |
| |
| privileged | Same as |
| |
| verbose | Same as |
| |
| trackall | Same as |
| |
| vi | Activates | the insert mode of a | |
|
| until you press the ESC key which puts you in move mode. | ||
|
| A return sends the line. |
| |
| viraw | Each character is processed as it is typed in | vi mode. | |
| xtrace | Same as |
| |
Disables processing of the | $HOME/.profile ®le and | uses the ®le | ||
| /etc/suid_profile instead of the ENV ®le. This mode is on whenever | |||
| the effective uid (gid) is not equal to the real uid (gid). Turning this off causes | |||
| the effective uid and gid to be set to the real uid and gid. |
| ||
Sort the positional parameters. |
| |||
Exit after reading and executing one command. |
| |||
Treat unset parameters as an error when substituting. |
| |||
Print shell input lines as they are read. |
| |||
Print commands and their arguments as they are executed. |
| |||
-Turns off
-- Do not change any of the options; useful in setting $1 to a value beginning with
Using + instead of - before a option causes the option to be turned off. These options can also be used when invoking the shell. The current set of options can be examined by using
Unless
% shift [ n ] | The positional parameters from $n+1 ... are renamed $1 ... ; default n is 1. The parame- |
| ter n can be any arithmetic expression that evaluates to a |
| equal to $#. |
test [ expr ] | Evaluate conditional expression expr. See test(1) for usage and description. The arithmetic |
| comparison operators are not restricted to integers. They allow any arithmetic expression. |
| Four additional primitive expressions are allowed: |
True if ®le is a symbolic link. | ||
file1 | True if ®le1 is newer than ®le2. | |
file1 | True if ®le1 is older than ®le2. | |
file1 | True if ®le1 has the same device and | |
%times Print the accumulated user and system times for the shell and for processes run from the shell.
%trap [ arg ] [ sig ... ]
arg is a command read and executed when the shell receives signal(s) sig. (Note that arg is scanned once when the trap is set and once when the trap is taken.) Each sig can be given as a number or name of the signal. Trap commands are executed in signal number order. Any attempt to set a trap on a signal that was ignored upon entering the current shell has no effect. If arg is omitted or is
%% typeset [ ±LRZfilrtux[ n ] ] [ name[ = value ] ] ...
| Parameter assignments remain in effect after the command completes. When invoked | |
Section 1−410 | − 15 − | |