


      MMLINT(1)                     (DWB)                     MMLINT(1)



      NAME
           mmlint - sroff/MM nroff/MM document compatibility checker

      SYNTAX
           mmlint -s file
           mmlint -n file

      DESCRIPTION
           Mmlint reads file (an input document) and reports the
           document changes needed to convert the document to be
           runnable by the text formatter specified by the option.

           -s   mmlint will flag nroff/MM constructs that are illegal
                in sroff/MM.

           -n   mmlint will flag sroff/MM constructs that are illegal
                in nroff/MM.

           Constructs are commands, embedded commands, or register
           references.

           There are three types of messages:

           Equivalent messages,
                which give the equivalent construct in the target
                formatter.

           Non-equivalent messages,
                which indicate that there is no equivalent construct in
                the target formatter.

           Warning messages,
                which describe the different meanings of a command or
                argument in each formatter.

           Messages are output on standard output.

      CAVEATS
           With the -s option, mmlint assumes the input file is in
           nroff/MM format.  However, if the file is in sroff/MM
           format, some erroneous messages may appear.  For example,

                \(ad\(asr)): no special chars in sroff

           although this is a legal register construct in sroff.

           The same characteristic is true for the -n option, with the
           following messages:

                \(sl): use \n(sl) in nroff

           although in nroff, this is the character sequence "/)".



      Page 1                                          (73 A2 02MT REV1)






      MMLINT(1)                     (DWB)                     MMLINT(1)



                \t:  use \nt in nroff

           although in nroff, \t is the tab escape sequence.

                \(:Mu):  register names can only be two characters long
           in nroff

           although :M is a legal register name in nroff.

           .so and .nx requests are ignored by mmlint.













































      Page 2                                          (73 A2 02MT REV1)



