logo
Free, unlimited AI code reviews that run on commit
git-lrc git-lrc GitHub Install Now We'd appreciate a star git-lrc - Free, unlimited AI code reviews that run on commit | Product Hunt git-lrc - Free, unlimited AI code reviews that run on commit | Product Hunt

sgml2txt - create plain text output from a LinuxDoc DTD SGML source file

Author

       Originally written by Greg Hankins <greg.hankins@cc.gatech.edu>, based  on  scripts  by  Tom  Gordon  and
       Alexander  Horz,  and  later rewritten by Cees de Groot <cg@cdegroot.com> for SGML-Tools (v1).  Currently
       maintained by Taketoshi Sano <sano@debian.org> for Linuxdoc-Tools.

Bugs

       None known.

Description

sgml2txt is an old and obsoleted form of the text converter command of LinuxDoc-Tools.  It is recommended
       to  switch  the  new  form  linuxdoc-Btext now.  It converts a LinuxDoc DTD SGML source file to ASCII,
       ISO-8859-1, or EUC-JP output. Output will appear in file.txt where file is the name of  the  SGML  source
       file.

       The attribute/value pair "output=txt" is set for conditionals.

Files

       Many files and executables in /usr/share/linuxdoc-tools are used.

Name

       sgml2txt - create plain text output from a LinuxDoc DTD SGML source file

Options

sgml2txtacceptsallthegenericoptionsdescribedinlinuxdoc(1), and the following specific options:

       --manpage, -m
              Outputs a groff source file, suitable for formatting with groff-man for man pages

       --filter, -f
              Remove backspace-overstrikes from the intermediate form generated by groff(1).

       --pass, -P
              The argument of the pass option is added to the command-line options handed to groff(1).

       --blanks=n, -b
              Set  the limit of continuous blank lines for generating the output document.  The default limit is
              3. if 0 (zero) is specified, the result have many continuous blank lines.

       file   The SGML source file, named either file or file.sgml

See Also

linuxdoc(1), sgml2html(1), sgml2info(1), sgml2latex(1), sgml2lyx(1), sgml2rtf(1), sgmlcheck(1).

                                                   16 May 2000                                       SGML2TXT(1)

Synopsis

sgml2txt[generic-option...][--manpage][--filter][--blanks=n]file[.sgml]

See Also