1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
154
155
156
157
158
159
160
161
162
163
164
165
166
167
168
169
170
171
172
173
174
175
176
177
178
179
180
181
182
183
184
185
186
187
188
189
190
191
192
193
194
195
196
197
198
199
200
201
202
203
204
205
206
207
208
209
210
211
212
|
2023-02-09 G. Branden Robinson <g.branden.robinson@gmail.com>
Revise test regime. Reduce amount of indirection required to
run a test, and directly use the same script for standalone and
Automake-integrated testing.
* tests/gdiffmk_tests.sh: Delete.
* tests/runtests.sh: Revise to search for test artifact input
and output directories (source vs. build). Drop argument
processing, converting two modes ("run" and "clean") into one
{run, with cleaning afterward}. Also ensure we use the build
directory to construct "tmp_file.7". Update authorship credit
so that Mike Bianchi isn't asked to support it.
* tests/baseline.7: Update expected test output.
* gdiffmk.am (TESTS): Run "runtests.sh" instead of
"gdiffmk_tests.sh".
(clean-local, clean_gdiffmk_check): Drop targets now that the
test script cleans up after itself.
2023-02-06 G. Branden Robinson <g.branden.robinson@gmail.com>
* tests/runtests.sh: Refactor file handling. Use narrower globs
to match the file names actually used; they are suffixed with a
dot and a number, not a number alone. Honor $TMPDIR when
creating the even-more-temporary file. Revise trap setup so
that the trap handler cannot be interrupted if it is already
running. Call the handler, then commit suicide with SIGINT.
Use symbolic names for signals, not numbers. Call new CleanUp
function before exiting normally.
(CleanUp): Pull temporary file clean-up logic into new function.
Also delete the even-more-temporary file used in test 1.
2022-10-18 G. Branden Robinson <g.branden.robinson@gmail.com>
* gdiffmk.sh: Drop "GNU" from version information, since this
program resides in groff's "contrib" directory.
2018-02-28 Werner LEMBERG <wl@gnu.org>
* gdiffmk.am (gdiffmk): Use $(AM_V_GEN) to silence file generation.
2015-08-22 Bernd Warken <groff-bernd.warken-72@web.de>
* gdiffmk.1.man: Rename `gdiffmk.man'.
* gdiffmk.am: Include renaming.
2015-08-05 Bernd Warken <groff-bernd.warken-72@web.de>
* gdiffmk.am: Add `Last update'. Setup Emacs mode.
2015-04-13 Mike Bianchi <MBianchi@Foveal.com>
More fixes to Savannah bug #44768.
* gdiffmk.sh:
replace
for OPTION with while [ $# -gt 0 ]
test -e ... with test -f
use ${DIFFCMD} for the last diff
add
-s SEDCMD option
OPTION="$1"
many other cosmetic changes documented in the bug Discussion.
especially:
capitalize variables e.g. CMD=`basename $0`
fix make check tests within gdiffmk
* tests/gdiffmk_tests.sh
add set -e
fails if ${abs_top_builddir} not set or incorrect
* tests/runtests.sh
add test 6a
# Different values for addmark, changemark, deletemark
# Alternate format of -a -c and -d flag arguments
add test 9a
# Test -D and -M options
# Alternate format of -M argument.
add printout of failure count
add exit with failure exit_code if any test fails
2015-04-10 Werner LEMBERG <wl@gnu.org>
Fix Savannah bug #44768.
* gdiffmk.sh: Remove bash's $(...) with classic `...`.
Patch by Peter Bray.
2015-04-03 Werner LEMBERG <wl@gnu.org
* gdiffmk.man: Make it work in compatibility mode.
2014-09-03 Bernd Warken <groff-bernd.warken-72@web.de>
* all `gdiffmk' source files: Add and improve the copying
information. Remove last update. Add Emacs setting if necessary.
2014-03-30 Steffen Nurpmeso <sdaoden@yandex.com>
* Makefile.sub: Put straight error-prevention prefixes for `rm'.
2009-09-22 Colin Watson <cjwatson@debian.org>
* gdiffmk.sh: Don't use bash specific syntax.
2008-01-04 Werner LEMBERG <wl@gnu.org>
* gdiffmk.man: Replace .URL with .UR/.UE.
Replace .MTO with .MT/.ME.
Don't include www.tmac.
2006-09-13 Werner LEMBERG <wl@gnu.org>
* tests/test_baseline*: Renamed to...
* tests/baseline.*: This.
* tests/runtests.in: Updated.
2006-02-26 Claudio Fontana <claudio@gnu.org>
* Makefile.sub: Add DESTDIR to install and uninstall targets
to support staged installations.
2005-05-16 Keith Marshall <keith.d.marshall@ntlworld.com>
* gdiffmk.sh: Add space in shebang, conforming
to portability recommendation in autoconf docs.
* tests/runtests.in: Likewise.
2005-01-16 Mike Bianchi <MBianchi@Foveal.com>
* gdiffmk.sh (Usage): Fix typos.
<top>: Allow `-M<arg1> <arg2>' also.
* gdiffmk.man: Updated.
2005-01-13 Mike Bianchi <MBianchi@Foveal.com>
* gdiffmk.sh: Add the -D, -M, and -B options, which provide actions
akin to nrchbar.
Thanks to Larry Kollar (http://home.alltel.net/kollar/groff/).
* gdiffmk.man: Updated.
* tests/runtests.in: Added tests for gdiffmk's -D, -M, and -B
options.
* tests/baseline8, tests/baseline9, tests/baseline10: New files.
2004-12-16 Mike Bianchi <MBianchi@Foveal.com>
* tests/runtests.in: Fix typo (s/$(srcdir)/${srcdir}/).
2004-12-15 Werner LEMBERG <wl@gnu.org>
The configure script now generates tests/runtests.
* tests/tests.sh: Renamed to...
* tests/runtests.in: This.
Add proper $srcdir prefixes to make it run from build directory.
* README, Makefile.sub (CLEANADD), tests/test_baseline7: Updated.
2004-12-14 Werner LEMBERG <wl@gnu.org>
* gdiffmk.sh: Make sed pattern work with alternate result of GNU
diff's -D option, using `!' instead of `not' in #endif comments.
(Exit): Use prefix for each emitted message line.
2004-12-14 Mike Bianchi <MBianchi@Foveal.com>
* tests/*: New files for testing gdiffmk.
* README, gdiffmk.man, gdiffmk.sh: Updated.
Minor fixes.
2004-12-13 Mike Bianchi <MBianchi@Foveal.com>
Add `-x' command line option to select a diff program.
* gdiffmk.sh: Add code to handle `-x'.
Move test for working `diff' down.
Fix sed pattern -- `.mc *' needs to be followed by `.mc .'.
(Usage): Updated.
* gdiffmk.man: Updated.
2004-12-12 Mike Bianchi <MBianchi@Foveal.com>
* README: New file.
2004-12-11 Mike Bianchi <MBianchi@Foveal.com>
First import of gdiffmk files.
Copyright 2004-2020 Free Software Foundation, Inc.
Copying and distribution of this file, with or without modification,
are permitted in any medium without royalty provided the copyright
notice and this notice are preserved.
Local Variables:
fill-column: 72
mode: change-log
version-control: never
End:
vim:set autoindent textwidth=72:
|