1oggz-diff(1) General Commands Manual oggz-diff(1)
2
3
4
6 oggz-diff — Hexdump the packets of two Ogg files and output differences
7
8
10 oggz-diff [options] [OGGZDUMP_OPTIONS] [DIFF_OPTIONS] file1.ogg
11 file2.ogg
12
13 options: [--verbose ] [-v | --version ] [-h | --help ]
14
15 OGGZDUMP_OPTIONS: [-b | --binary ] [-x | --hexadecimal ] [-c con‐
16 tent-type | --content-type content-type ] [-s serialno | --serialno
17 serialno ] [-O | --hide-offset ] [-S | --hide-serialno ] [-G |
18 --hide-granulepos ] [-P | --hide-packetno ]
19
20 DIFF_OPTIONS: [-q | --brief ] [-C NUM | --context[=NUM] ] [-u | -U
21 NUM | --unified[=NUM] ] [-e | --ed ] [--normal ] [--rcs ] [-y |
22 --side-by-side ] [-l | --paginate ]
23
25 oggz-diff is a sh script which uses oggz-dump to generate hexadecimal
26 packet dumps of each input file, then outputs the difference between
27 these dumps using diff.
28
29
31 oggz-diff forwards a subset of options accepted by oggz-dump and diff.
32 See oggz-dump(1) and diff(1) for more detail.
33
34
35 oggz-dump format options
36 -b, --binary
37 Generate a binary dump of each packet
38
39
40 -x, --hexadeciaml
41 Generate a hexadecimal dump of each packet
42
43
44 oggz-dump filtering options
45 -c content-type, --content-type content-type
46 Dump only the logical bitstreams for a specific content-type.
47 Run oggz-known-codecs(1) for a full list of codecs known by
48 the installed version of oggz.
49
50
51 -s serialno, --serialno serialno
52 Dump only the logical bitstream with specified serialno.
53
54
55 -O, --hide-offset
56 Hide the byte offset field of the preamble for each packet
57 dumped. This is particularly useful when comparing Ogg bit‐
58 streams that differ only in page structure.
59
60
61 -S, --hide-serialno
62 Hide the serialno field of the preamble for each packet
63 dumped. This is particularly useful when comparing Ogg bit‐
64 streams that differ only in serialno assignment.
65
66
67 -G, --hide-granulepos
68 Hide the granulepos field of the preamble for each packet
69 dumped.
70
71
72 -P, --hide-packetno
73 Hide the packetno field of the preamble for each packet
74 dumped.
75
76
77 diff options
78 The -w (--ignore-all-space) option to diff is always implied.
79
80
81 -q, --brief
82 Output only whether files differ.
83
84
85 -C NUM, --context[=NUM]
86 Output NUM lines of copied context.
87
88
89 -u, -U NUM, --unified[=NUM]
90 Output NUM (default 3) lines of unified context.
91
92
93 -e, --ed Output an ed script.
94
95
96 --normal Output a normal diff.
97
98
99 --rcs Output an RCS format diff.
100
101
102 -y, --side-by-side
103 Output in two columns.
104
105
106 -l, --paginate
107 Pass the output through pr to paginate it.
108
109
110 Miscellaneous options
111 --verbose Display verbose messages.
112
113 -v, --version
114 Display version information and exit.
115
116 -h, --help
117 Display usage information and exit.
118
120 Conrad Parker
121
123 Copyright © 2003 CSIRO Australia
124
125
127 oggz-dump(1), diff(1), patch(1)
128
129
130
131 oggz-diff(1)