Manual Page Result
0
Command: textddif | Section: 1 | Source: Digital UNIX | File: textddif.1.gz
textddif(1) General Commands Manual textddif(1)
NAME
textddif - convert text formatted files to DDIF formatted files
SYNOPSIS
textddif [-m message_log] [-O optionfile] [-o outputfile] [-p op-
tions_line]... [-d extension] [inputfile [outputfile [logfile]]]
OPTIONS
Enables enhanced messaging and logs all messages to message_log or, if
`-' is specified, to the standard error in place of the message_log. If
you do not specify this option, only serious errors are reported.
Specifies the name of the options file containing options for this con-
verter. There are currently no options for this converter. Specifies
the name of the output file. Included in the command syntax for compat-
ibility with the cdoc command. Allows you to specify options on com-
mand line. Has the same effect as specifying an options file for this
converter. You can specify up to 100 options. Allows the specification
of a default file extension for compatibility with other operating sys-
tems.
DESCRIPTION
The textddif command reads a text formatted file from inputfile and
writes a DDIF file to outputfile. To convert from file.text to
file.ddif type:
textddif file.text file.ddif
If you do not supply an input file, or if you supply a minus sign (-)
as an argument, textddif reads the text file from standard input. If
you do not supply an output file, or if a minus sign (-) is encountered
as an argument, textddif writes the DDIF file to standard output.
You can also invoke the textddif conversion with the cdoc command when
you use that command and specify the option -s text.
The textddif command maps line breaks and form feeds to DDIF direc-
tives. One or more contiguous blank lines are interpreted as end-of-
paragraph markers. The text input file does not lose any information
because no structure information is contained in a text file. The in-
formation in the intermediate representation of the input file maps di-
rectly to the DDIF output file.
The textddif command converts all nonprinting characters to space char-
acters. For example, characters introducing ANSI escape characters are
converted to space characters. There is no attempt to interpret ANSI
escape sequences.
SEE ALSO
cdoc(1), cda(4), cda_msg(4), ddif(4)
textddif(1)