1 .sp 3 2 .tl ''Ksh Features That Are Obsolete in Ksh93'' 3 .sp 2 4 .AL 1 5 .LI 6 Using a pair of grave accents \^\fB\(ga\fR ... \fB\(ga\fR\^ 7 for command substition. Use \fB$(\fR ... \fB)\fR instead. 8 .LI 9 .B FCEDIT 10 is an obsolete name for 11 the default editor name for the 12 .B hist 13 command. 14 .B FCEDIT 15 is not used when 16 .B HISTEDIT 17 is set. Use 18 .B HISTEDIT 19 instead. 20 .LI 21 The newtest (\fB[[\fR ... \fB]]\fR) operator 22 \fB\-a\fP \fIfile\fP 23 is obsolete. Use 24 \fB\-e\fP instead. 25 .LI 26 The newtest (\fB[[\fR ... \fB]]\fR) operator 27 .BR = , 28 as used in 29 \fIstring\fP \fB=\fP \fIpattern\fP 30 is obsolete. Use 31 \fB==\fP instead. 32 .LI 33 The following obsolete arithmetic comparisons are also permitted: 34 .in +5 35 .VL 20 36 .LI "\fIexp1\fP \fB\-eq\fP \fIexp2\fP" 37 True, if 38 .I exp1 39 is equal to 40 .IR exp2 . 41 .LI "\fIexp1\fP \fB\-ne\fP \fIexp2\fP" 42 True, if 43 .I exp1 44 is not equal to 45 .IR exp2 . 46 .LI "\fIexp1\fP \fB\-lt\fP \fIexp2\fP" 47 True, if 48 .I exp1 49 is less than 50 .IR exp2 . 51 .LI "\fIexp1\fP \fB\-gt\fP \fIexp2\fP" 52 True, if 53 .I exp1 54 is greater than 55 .IR exp2 . 56 .LI "\fIexp1\fP \fB\-le\fP \fIexp2\fP" 57 True, if 58 .I exp1 59 is less than or equal to 60 .IR exp2 . 61 .LI "\fIexp1\fP \fB\-ge\fP \fIexp2\fP" 62 True, if 63 .I exp1 64 is greater than or equal to 65 .IR exp2 . 66 .LE \" End .VL 67 .in -5 68 .LI 69 Using test -t or [ -t ] without specifying the file unit number. 70 .LI 71 The 72 .B \-k 73 option to the \fBset\fR builtin is obsolete. It causes 74 .I all\^ 75 variable assignment arguments are placed in the environment, 76 even if they occur after the command name. 77 The following 78 first prints 79 .B "a=b c" 80 and then 81 .BR c : 82 There is no alternative. 83 .LI 84 The obsolete 85 .B \-xf 86 option of the 87 .B typeset 88 command allows a function to be exported 89 to scripts that are executed without a separate 90 invocation of the shell. 91 Functions that need to be defined across separate 92 invocations of the shell should 93 be placed in a directory and the 94 .B FPATH 95 variable should contains the name of this directory. 96 They may also 97 be specified in the 98 .B ENV 99 file with the 100 .B \-xf 101 option of 102 .BR typeset . 103 .LI 104 The shell environment variable 105 .B FCEDIT 106 is obsolete. Use 107 .B HISTEDIT 108 instead. 109 .LI 110 In the 111 .B \-s 112 option 113 (to \fBfc\fR or \fBhist\fR command???) 114 ( 115 and in obsolete versions, the editor name 116 .B \- 117 ) 118 is used to skip the editing phase and 119 to re-execute the command. 120 .LI 121 The 122 .B \-t 123 option to \fBalias\fR builtin is is obsolete. It 124 is used to set and list tracked aliases. 125 There is no replacement. 126 .LI 127 The shell command line option 128 .B \-t 129 is obsolete. This option cause the shell to exit after reading 130 and executing one command. The is no replacement (although ending 131 \&"command" with the exit builtin should have the same effect). 132 .LI 133 As an obsolete feature of the "set" builtin, 134 if the first 135 .I arg\^ 136 is 137 .B \- 138 then the 139 .B \-x 140 and 141 .B \-v 142 options are turned off and the next 143 .I arg 144 is treated as the first argument. 145 Using 146 .B \+ 147 rather than 148 .B \- 149 causes these options to be turned off. 150 These options can also be used upon invocation of the shell. 151 .LE 152 153