da2e3ebdc1edfbc5028edf1354e7dd2fa69a7968chin.sp 3
da2e3ebdc1edfbc5028edf1354e7dd2fa69a7968chin.tl ''Ksh Features That Are Obsolete in Ksh93''
da2e3ebdc1edfbc5028edf1354e7dd2fa69a7968chin.sp 2
da2e3ebdc1edfbc5028edf1354e7dd2fa69a7968chin.AL 1
da2e3ebdc1edfbc5028edf1354e7dd2fa69a7968chin.LI
da2e3ebdc1edfbc5028edf1354e7dd2fa69a7968chinUsing a pair of grave accents \^\fB\(ga\fR ... \fB\(ga\fR\^
da2e3ebdc1edfbc5028edf1354e7dd2fa69a7968chinfor command substition. Use \fB$(\fR ... \fB)\fR instead.
da2e3ebdc1edfbc5028edf1354e7dd2fa69a7968chin.LI
da2e3ebdc1edfbc5028edf1354e7dd2fa69a7968chin.B FCEDIT
da2e3ebdc1edfbc5028edf1354e7dd2fa69a7968chinis an obsolete name for
da2e3ebdc1edfbc5028edf1354e7dd2fa69a7968chinthe default editor name for the
da2e3ebdc1edfbc5028edf1354e7dd2fa69a7968chin.B hist
da2e3ebdc1edfbc5028edf1354e7dd2fa69a7968chincommand.
da2e3ebdc1edfbc5028edf1354e7dd2fa69a7968chin.B FCEDIT
da2e3ebdc1edfbc5028edf1354e7dd2fa69a7968chinis not used when
da2e3ebdc1edfbc5028edf1354e7dd2fa69a7968chin.B HISTEDIT
da2e3ebdc1edfbc5028edf1354e7dd2fa69a7968chinis set. Use
da2e3ebdc1edfbc5028edf1354e7dd2fa69a7968chin.B HISTEDIT
da2e3ebdc1edfbc5028edf1354e7dd2fa69a7968chininstead.
da2e3ebdc1edfbc5028edf1354e7dd2fa69a7968chin.LI
da2e3ebdc1edfbc5028edf1354e7dd2fa69a7968chinThe newtest (\fB[[\fR ... \fB]]\fR) operator
da2e3ebdc1edfbc5028edf1354e7dd2fa69a7968chin\fB\-a\fP \fIfile\fP
da2e3ebdc1edfbc5028edf1354e7dd2fa69a7968chinis obsolete. Use
da2e3ebdc1edfbc5028edf1354e7dd2fa69a7968chin\fB\-e\fP instead.
da2e3ebdc1edfbc5028edf1354e7dd2fa69a7968chin.LI
da2e3ebdc1edfbc5028edf1354e7dd2fa69a7968chinThe newtest (\fB[[\fR ... \fB]]\fR) operator
da2e3ebdc1edfbc5028edf1354e7dd2fa69a7968chin.BR = ,
da2e3ebdc1edfbc5028edf1354e7dd2fa69a7968chinas used in
da2e3ebdc1edfbc5028edf1354e7dd2fa69a7968chin\fIstring\fP \fB=\fP \fIpattern\fP
da2e3ebdc1edfbc5028edf1354e7dd2fa69a7968chinis obsolete. Use
da2e3ebdc1edfbc5028edf1354e7dd2fa69a7968chin\fB==\fP instead.
da2e3ebdc1edfbc5028edf1354e7dd2fa69a7968chin.LI
da2e3ebdc1edfbc5028edf1354e7dd2fa69a7968chinThe following obsolete arithmetic comparisons are also permitted:
da2e3ebdc1edfbc5028edf1354e7dd2fa69a7968chin.in +5
da2e3ebdc1edfbc5028edf1354e7dd2fa69a7968chin.VL 20
da2e3ebdc1edfbc5028edf1354e7dd2fa69a7968chin.LI "\fIexp1\fP \fB\-eq\fP \fIexp2\fP"
da2e3ebdc1edfbc5028edf1354e7dd2fa69a7968chinTrue, if
da2e3ebdc1edfbc5028edf1354e7dd2fa69a7968chin.I exp1
da2e3ebdc1edfbc5028edf1354e7dd2fa69a7968chinis equal to
da2e3ebdc1edfbc5028edf1354e7dd2fa69a7968chin.IR exp2 .
da2e3ebdc1edfbc5028edf1354e7dd2fa69a7968chin.LI "\fIexp1\fP \fB\-ne\fP \fIexp2\fP"
da2e3ebdc1edfbc5028edf1354e7dd2fa69a7968chinTrue, if
da2e3ebdc1edfbc5028edf1354e7dd2fa69a7968chin.I exp1
da2e3ebdc1edfbc5028edf1354e7dd2fa69a7968chinis not equal to
da2e3ebdc1edfbc5028edf1354e7dd2fa69a7968chin.IR exp2 .
da2e3ebdc1edfbc5028edf1354e7dd2fa69a7968chin.LI "\fIexp1\fP \fB\-lt\fP \fIexp2\fP"
da2e3ebdc1edfbc5028edf1354e7dd2fa69a7968chinTrue, if
da2e3ebdc1edfbc5028edf1354e7dd2fa69a7968chin.I exp1
da2e3ebdc1edfbc5028edf1354e7dd2fa69a7968chinis less than
da2e3ebdc1edfbc5028edf1354e7dd2fa69a7968chin.IR exp2 .
da2e3ebdc1edfbc5028edf1354e7dd2fa69a7968chin.LI "\fIexp1\fP \fB\-gt\fP \fIexp2\fP"
da2e3ebdc1edfbc5028edf1354e7dd2fa69a7968chinTrue, if
da2e3ebdc1edfbc5028edf1354e7dd2fa69a7968chin.I exp1
da2e3ebdc1edfbc5028edf1354e7dd2fa69a7968chinis greater than
da2e3ebdc1edfbc5028edf1354e7dd2fa69a7968chin.IR exp2 .
da2e3ebdc1edfbc5028edf1354e7dd2fa69a7968chin.LI "\fIexp1\fP \fB\-le\fP \fIexp2\fP"
da2e3ebdc1edfbc5028edf1354e7dd2fa69a7968chinTrue, if
da2e3ebdc1edfbc5028edf1354e7dd2fa69a7968chin.I exp1
da2e3ebdc1edfbc5028edf1354e7dd2fa69a7968chinis less than or equal to
da2e3ebdc1edfbc5028edf1354e7dd2fa69a7968chin.IR exp2 .
da2e3ebdc1edfbc5028edf1354e7dd2fa69a7968chin.LI "\fIexp1\fP \fB\-ge\fP \fIexp2\fP"
da2e3ebdc1edfbc5028edf1354e7dd2fa69a7968chinTrue, if
da2e3ebdc1edfbc5028edf1354e7dd2fa69a7968chin.I exp1
da2e3ebdc1edfbc5028edf1354e7dd2fa69a7968chinis greater than or equal to
da2e3ebdc1edfbc5028edf1354e7dd2fa69a7968chin.IR exp2 .
da2e3ebdc1edfbc5028edf1354e7dd2fa69a7968chin.LE \" End .VL
da2e3ebdc1edfbc5028edf1354e7dd2fa69a7968chin.in -5
da2e3ebdc1edfbc5028edf1354e7dd2fa69a7968chin.LI
da2e3ebdc1edfbc5028edf1354e7dd2fa69a7968chinUsing test -t or [ -t ] without specifying the file unit number.
da2e3ebdc1edfbc5028edf1354e7dd2fa69a7968chin.LI
da2e3ebdc1edfbc5028edf1354e7dd2fa69a7968chinThe
da2e3ebdc1edfbc5028edf1354e7dd2fa69a7968chin.B \-k
da2e3ebdc1edfbc5028edf1354e7dd2fa69a7968chinoption to the \fBset\fR builtin is obsolete. It causes
da2e3ebdc1edfbc5028edf1354e7dd2fa69a7968chin.I all\^
da2e3ebdc1edfbc5028edf1354e7dd2fa69a7968chinvariable assignment arguments are placed in the environment,
da2e3ebdc1edfbc5028edf1354e7dd2fa69a7968chineven if they occur after the command name.
da2e3ebdc1edfbc5028edf1354e7dd2fa69a7968chinThe following
da2e3ebdc1edfbc5028edf1354e7dd2fa69a7968chinfirst prints
da2e3ebdc1edfbc5028edf1354e7dd2fa69a7968chin.B "a=b c"
da2e3ebdc1edfbc5028edf1354e7dd2fa69a7968chinand then
da2e3ebdc1edfbc5028edf1354e7dd2fa69a7968chin.BR c :
da2e3ebdc1edfbc5028edf1354e7dd2fa69a7968chinThere is no alternative.
da2e3ebdc1edfbc5028edf1354e7dd2fa69a7968chin.LI
da2e3ebdc1edfbc5028edf1354e7dd2fa69a7968chinThe obsolete
da2e3ebdc1edfbc5028edf1354e7dd2fa69a7968chin.B \-xf
da2e3ebdc1edfbc5028edf1354e7dd2fa69a7968chinoption of the
da2e3ebdc1edfbc5028edf1354e7dd2fa69a7968chin.B typeset
da2e3ebdc1edfbc5028edf1354e7dd2fa69a7968chincommand allows a function to be exported
da2e3ebdc1edfbc5028edf1354e7dd2fa69a7968chinto scripts that are executed without a separate
da2e3ebdc1edfbc5028edf1354e7dd2fa69a7968chininvocation of the shell.
da2e3ebdc1edfbc5028edf1354e7dd2fa69a7968chinFunctions that need to be defined across separate
da2e3ebdc1edfbc5028edf1354e7dd2fa69a7968chininvocations of the shell should
da2e3ebdc1edfbc5028edf1354e7dd2fa69a7968chinbe placed in a directory and the
da2e3ebdc1edfbc5028edf1354e7dd2fa69a7968chin.B FPATH
da2e3ebdc1edfbc5028edf1354e7dd2fa69a7968chinvariable should contains the name of this directory.
da2e3ebdc1edfbc5028edf1354e7dd2fa69a7968chinThey may also
da2e3ebdc1edfbc5028edf1354e7dd2fa69a7968chinbe specified in the
da2e3ebdc1edfbc5028edf1354e7dd2fa69a7968chin.B ENV
da2e3ebdc1edfbc5028edf1354e7dd2fa69a7968chinfile with the
da2e3ebdc1edfbc5028edf1354e7dd2fa69a7968chin.B \-xf
da2e3ebdc1edfbc5028edf1354e7dd2fa69a7968chinoption of
da2e3ebdc1edfbc5028edf1354e7dd2fa69a7968chin.BR typeset .
da2e3ebdc1edfbc5028edf1354e7dd2fa69a7968chin.LI
da2e3ebdc1edfbc5028edf1354e7dd2fa69a7968chinThe shell environment variable
da2e3ebdc1edfbc5028edf1354e7dd2fa69a7968chin.B FCEDIT
da2e3ebdc1edfbc5028edf1354e7dd2fa69a7968chinis obsolete. Use
da2e3ebdc1edfbc5028edf1354e7dd2fa69a7968chin.B HISTEDIT
da2e3ebdc1edfbc5028edf1354e7dd2fa69a7968chininstead.
da2e3ebdc1edfbc5028edf1354e7dd2fa69a7968chin.LI
da2e3ebdc1edfbc5028edf1354e7dd2fa69a7968chinIn the
da2e3ebdc1edfbc5028edf1354e7dd2fa69a7968chin.B \-s
da2e3ebdc1edfbc5028edf1354e7dd2fa69a7968chinoption
da2e3ebdc1edfbc5028edf1354e7dd2fa69a7968chin(to \fBfc\fR or \fBhist\fR command???)
da2e3ebdc1edfbc5028edf1354e7dd2fa69a7968chin(
da2e3ebdc1edfbc5028edf1354e7dd2fa69a7968chinand in obsolete versions, the editor name
da2e3ebdc1edfbc5028edf1354e7dd2fa69a7968chin.B \-
da2e3ebdc1edfbc5028edf1354e7dd2fa69a7968chin)
da2e3ebdc1edfbc5028edf1354e7dd2fa69a7968chinis used to skip the editing phase and
da2e3ebdc1edfbc5028edf1354e7dd2fa69a7968chinto re-execute the command.
da2e3ebdc1edfbc5028edf1354e7dd2fa69a7968chin.LI
da2e3ebdc1edfbc5028edf1354e7dd2fa69a7968chinThe
da2e3ebdc1edfbc5028edf1354e7dd2fa69a7968chin.B \-t
da2e3ebdc1edfbc5028edf1354e7dd2fa69a7968chinoption to \fBalias\fR builtin is is obsolete. It
da2e3ebdc1edfbc5028edf1354e7dd2fa69a7968chinis used to set and list tracked aliases.
da2e3ebdc1edfbc5028edf1354e7dd2fa69a7968chinThere is no replacement.
da2e3ebdc1edfbc5028edf1354e7dd2fa69a7968chin.LI
da2e3ebdc1edfbc5028edf1354e7dd2fa69a7968chinThe shell command line option
da2e3ebdc1edfbc5028edf1354e7dd2fa69a7968chin.B \-t
da2e3ebdc1edfbc5028edf1354e7dd2fa69a7968chinis obsolete. This option cause the shell to exit after reading
da2e3ebdc1edfbc5028edf1354e7dd2fa69a7968chinand executing one command. The is no replacement (although ending
da2e3ebdc1edfbc5028edf1354e7dd2fa69a7968chin\&"command" with the exit builtin should have the same effect).
da2e3ebdc1edfbc5028edf1354e7dd2fa69a7968chin.LI
da2e3ebdc1edfbc5028edf1354e7dd2fa69a7968chinAs an obsolete feature of the "set" builtin,
da2e3ebdc1edfbc5028edf1354e7dd2fa69a7968chinif the first
da2e3ebdc1edfbc5028edf1354e7dd2fa69a7968chin.I arg\^
da2e3ebdc1edfbc5028edf1354e7dd2fa69a7968chinis
da2e3ebdc1edfbc5028edf1354e7dd2fa69a7968chin.B \-
da2e3ebdc1edfbc5028edf1354e7dd2fa69a7968chinthen the
da2e3ebdc1edfbc5028edf1354e7dd2fa69a7968chin.B \-x
da2e3ebdc1edfbc5028edf1354e7dd2fa69a7968chinand
da2e3ebdc1edfbc5028edf1354e7dd2fa69a7968chin.B \-v
da2e3ebdc1edfbc5028edf1354e7dd2fa69a7968chinoptions are turned off and the next
da2e3ebdc1edfbc5028edf1354e7dd2fa69a7968chin.I arg
da2e3ebdc1edfbc5028edf1354e7dd2fa69a7968chinis treated as the first argument.
da2e3ebdc1edfbc5028edf1354e7dd2fa69a7968chinUsing
da2e3ebdc1edfbc5028edf1354e7dd2fa69a7968chin.B \+
da2e3ebdc1edfbc5028edf1354e7dd2fa69a7968chinrather than
da2e3ebdc1edfbc5028edf1354e7dd2fa69a7968chin.B \-
da2e3ebdc1edfbc5028edf1354e7dd2fa69a7968chincauses these options to be turned off.
da2e3ebdc1edfbc5028edf1354e7dd2fa69a7968chinThese options can also be used upon invocation of the shell.
da2e3ebdc1edfbc5028edf1354e7dd2fa69a7968chin.LE
da2e3ebdc1edfbc5028edf1354e7dd2fa69a7968chin