


                                   ‐ 1 ‐



                  Ksh Features That Are Obsolete in Ksh93



         1.  Using  a  pair  of  grave  accents [1m` [22m... [1m` [22mfor command
             substition.  Use [1m$( [22m... [1m) [22minstead.

         2.  [1mFCEDIT [22mis an obsolete name for the default editor name
             for  the  [1mhist  [22mcommand.   [1mFCEDIT  [22mis  not  used  when
             [1mHISTEDIT [22mis set.  Use [1mHISTEDIT [22minstead.

         3.  The  newtest ([1m[[ [22m... [1m]][22m) operator [1m−a [4m[22mfile[24m is obsolete.
             Use [1m−e [22minstead.

         4.  The newtest ([1m[[ [22m... [1m]][22m) operator [1m=[22m, as used in  [4mstring[0m
             [1m= [4m[22mpattern[24m is obsolete.  Use [1m== [22minstead.

         5.  The following obsolete arithmetic comparisons are also
             permitted:

                  [4mexp1[24m [1m−eq [4m[22mexp2[24m       True,  if  [4mexp1[24m  is  equal to
                                      [4mexp2[24m.

                  [4mexp1[24m [1m−ne [4m[22mexp2[24m       True, if [4mexp1[24m is not equal to
                                      [4mexp2[24m.

                  [4mexp1[24m [1m−lt [4m[22mexp2[24m       True, if [4mexp1[24m  is  less  than
                                      [4mexp2[24m.

                  [4mexp1[24m [1m−gt [4m[22mexp2[24m       True, if [4mexp1[24m is greater than
                                      [4mexp2[24m.

                  [4mexp1[24m [1m−le [4m[22mexp2[24m       True, if [4mexp1[24m is less than or
                                      equal to [4mexp2[24m.

                  [4mexp1[24m [1m−ge [4m[22mexp2[24m       True, if [4mexp1[24m is greater than
                                      or equal to [4mexp2[24m.

         6.  Using  test  ‐t  or [ ‐t ] without specifying the file
             unit number.

         7.  The [1m−k [22moption to the  [1mset  [22mbuiltin  is  obsolete.   It
             causes [4mall[24m variable assignment arguments are placed in
             the  environment, even if they occur after the command
             name.  The following first prints [1ma=b c  [22mand  then  [1mc[22m:
             There is no alternative.

         8.  The  obsolete [1m−xf [22moption of the [1mtypeset [22mcommand allows
             a function to be exported to scripts that are executed
             without a separate invocation of the shell.  Functions
             that need to be defined across separate invocations of
             the shell should be placed  in  a  directory  and  the
             [1mFPATH  [22mvariable  should  contains  the  name  of  this
             directory.  They may also be specified in the [1mENV [22mfile








                                   ‐ 2 ‐



             with the [1m−xf [22moption of [1mtypeset[22m.

         9.  The shell environment  variable  [1mFCEDIT  [22mis  obsolete.
             Use [1mHISTEDIT [22minstead.

        10.  In  the [1m−s [22moption (to [1mfc [22mor [1mhist [22mcommand???)  ( and in
             obsolete versions, the editor name [1m− [22m) is used to skip
             the editing phase and to re‐execute the command.

        11.  The [1m−t [22moption to [1malias [22mbuiltin is is obsolete.  It  is
             used  to  set  and  list tracked aliases.  There is no
             replacement.

        12.  The shell command line option [1m−t  [22mis  obsolete.   This
             option  cause  the  shell  to  exit  after reading and
             executing  one  command.   The   is   no   replacement
             (although  ending  "command"  with  the  exit  builtin
             should have the same effect).

        13.  As an obsolete feature of the "set"  builtin,  if  the
             first  [4marg[24m  is [1m− [22mthen the [1m−x [22mand [1m−v [22moptions are turned
             off and the next [4marg[24m is treated as the first argument.
             Using [1m+ [22mrather than  [1m−  [22mcauses  these  options  to  be
             turned  off.   These  options  can  also  be used upon
             invocation of the shell.


































