dwfilter - reformat text with dwdiff for further processing
] OLD FILE NEW FILE POST
[ POST PROCESSOR OPTIONS
reformats the text in the old file according to the contents of
the new file (or vice versa) and subsequently passes the reformated old file
and the new file through a secondary filter. It's main use is to allow visual
diff programs such as meld
to be used, even though a
text file has been reformated after editing. A further use is to allow the
creation of small patches even when the new text has been reformated.
- -r, --reverse
- Reformat the new file based on the contents of the old file
instead of the default where the old file is reformated based on the
contents of the new file.
accepts the following dwdiff
See the dwdiff
manual page for the meaning.
A single dash (-) as a file can be used to denote standard input. Only one file
can be read from standard input. To stop dwfilter
file names that start with a dash as options, one can specify a double dash
(--) after which dwfilter
will interpret any following arguments as
files to read.
If you think you have found a bug, please check that you are using the latest
version of dwdiff
reporting bugs, please include a minimal example that demonstrates the
G.P. Halkes <email@example.com>
Copyright © 2006-2010 G.P. Halkes
dwdiff is licensed under the GNU General Public License version 3.
For more details on the license, see the file COPYING in the documentation
directory. On Un*x systems this is usually /usr/share/doc/dwdiff-$VERSION$.