1dwfilter(1)              reformat text for processing              dwfilter(1)
2
3
4

NAME

6       dwfilter - reformat text with dwdiff for further processing
7

SYNOPSIS

9       dwfilter [OPTIONS] <OLD FILE> <NEW FILE> <POST PROCESSOR> [POST PROCES‐
10       SOR OPTIONS]
11

DESCRIPTION

13       dwfilter reformats the text in the old file according to  the  contents
14       of  the new file (or vice versa) and subsequently passes the reformated
15       old file and the new file through a secondary filter. It's main use  is
16       to allow visual diff programs such as meld and kdiff3 to be used, even‐
17       though a text file has been reformated after editing. A further use  is
18       to  allow the creation of small patches even when the new text has been
19       reformated. dwfilter uses dwdiff for reformatting.
20
21

OPTIONS

23       -r, --reverse
24              Reformat the new file based on the  contents  of  the  old  file
25              instead of the default where the old file is reformated based on
26              the contents of the new file.
27
28       dwfilter accepts the following dwdiff options:
29
30
31       -d <delimiters>, --delimiters=<delimiters>
32       -P, --punctuation>
33       -W <whitespace>, --whitespace=<whitespace>
34       -i, --ignore-case
35       -I, --ignore-formatting
36       -D <option>, --diff-option=<option>
37       -C<num>, --context=<num>
38       -m<num>, --match-context=<num>
39       --aggregate-changes
40       --wdiff-output
41
42       See the dwdiff manual page for the meaning.
43
44       A single dash (-) as a file can be used to denote standard input.  Only
45       one  file can be read from standard input. To stop dwfilter from inter‐
46       preting file names that start with a dash as options, one can specify a
47       double  dash  (--)  after  which  dwfilter will interpret any following
48       arguments as files to read.
49

BUGS

51       If you think you have found a bug, please check that you are using  the
52       latest  version of dwdiff [http://os.ghalkes.nl/dwdiff]. When reporting
53       bugs, please include a minimal example that demonstrates the problem.
54

AUTHOR

56       G.P. Halkes <dwdiff@ghalkes.nl>
57
59       Copyright © 2006-2010 G.P. Halkes
60       dwdiff is licensed under the GNU General Public License version 3.
61       For more details on the license, see the file COPYING in the documenta‐
62       tion     directory.     On     Un*x    systems    this    is    usually
63       /usr/share/doc/dwdiff-1.7.
64

SEE ALSO

66       dwdiff(1), diff(1), meld(1), kdiff3(1)
67
68
69
70Version 1.7                       13-02-2010                       dwfilter(1)
Impressum