This is the historical archive of the now-inactive 'grubstreet' list.
Discussion on OpenGuides development has now moved to OpenGuides-Dev. Discussion on The Open Guide to London now takes place on OpenGuides-London.

[grubstreet] Indexing Wiki patch as a patch

[prev] [thread] [next] [lurker] [Date index for 2002/5/4]

From: IVOR WILLIAMS
Subject: [grubstreet] Indexing Wiki patch as a patch
Date: 10:03 on 04 May 2002
------NetAddressPart-00--=_DJDw1504S0120d24adc
Content-Type: text/plain; charset=ISO-8859-1
Content-Transfer-Encoding: quoted-printable

I have a Win32 diffing utility now. So, here is my patch as a patch.

This should be applied to the raw usemod092 wiki.pl, as this is the base
version I was using.


------NetAddressPart-00--=_DJDw1504S0120d24adc
Content-Type: application/octet-stream; name="wiki.dif"
Content-Transfer-Encoding: base64
Content-Disposition: inline; filename="wiki.dif"

Nzk0YTc5NSw4MDcKPiBzdWIgR2V0SW5kZXhMaW5rIHsKPiAgIG15ICgkaWQsJHByZWZpeCkg
PSBAXzsKPiAgICRwcmVmaXggfHw9ICcnOwo+ICAgbXkgJG5hbWUgPSAkcHJlZml4LiRpZDsK
PiAKPiAgICRpZCA9fiBzfF4vfCRNYWluUGFnZS98Owo+ICAgaWYgKCRGcmVlTGlua3MpIHsK
PiAgICAgJGlkID0gJkZyZWVUb05vcm1hbCgkaWQpOwo+ICAgICAkbmFtZSA9fiBzL18vIC9n
Owo+ICAgfQo+ICAgcmV0dXJuICZTY3JpcHRMaW5rKCJpZD0kaWQmYWN0aW9uPWluZGV4Iiwg
JG5hbWUpOwo+IH0KPiAKODI3Yzg0MAo8ICAgbXkgKCRpZCwgJG5hbWUpID0gQF87Ci0tLQo+
ICAgbXkgKCRpZCwgJG5hbWUsICRwcmVmaXgpID0gQF87Cjg0OWE4NjMKPiAgICAgcmV0dXJu
ICZTY3JpcHRMaW5rKCJpZD0kaWQmYWN0aW9uPWluZGV4IiwkcHJlZml4LiRuYW1lKSBpZiAk
cHJlZml4Owo5NjNjOTc3CjwgICAgICRyZXN1bHQgLj0gJHEtPmgxKC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AgfQo+IAl9Cj4gICBmb3Jl
YWNoIChteSBAayA9IGtleXMgJWZvdW5kKSB7Cj4gICAJd2hpbGUgKC9cKy9nKSB7Cj4gCSAg
ZGVsZXRlICRmb3VuZHskJ307Cj4gCX0KPiAJZGVsZXRlICRmb3VuZHskX30gaWYgIS9eJHN0
cmluZy87Cj4gICB9Cj4gCQo+ICAgc29ydCBrZXlzICVmb3VuZDsKPiB9Cj4gCjM2OTFjMzc3
OAo8ICAgICB9IGVsc2lmICgvXlw9KD86XFtcWyk/KFteXT1dKykoPzpcXVxdKT9cPSg/Olxb
XFspPyhbXl09XSspKD86XF1cXSk/LykgewotLS0KPiAgICAgfSBlbHNpZiAoL15cPSg/Olxb
XFtcKz8pPyhbXl09XSspKD86XF1cXSk/XD0oPzpcW1xbKT8oW15dPV0rKSg/OlxdXF0pPy8p
IHsKMzY5M2MzNzgwCjwgICAgIH0gZWxzaWYgKC9eXHwoPzpcW1xbKT8oW15dfF0rKSg/Olxd
XF0pP1x8KD86XFtcWyk/KFteXXxdKykoPzpcXVxdKT8vKSB7Ci0tLQo+ICAgICB9IGVsc2lm
ICgvXlx8KD86XFtcW1wrPyk/KFteXXxdKykoPzpcXVxdKT9cfCg/OlxbXFspPyhbXl18XSsp
KD86XF1cXSk/Lykgewo=

------NetAddressPart-00--=_DJDw1504S0120d24adc--

-- 
grubstreet mailing list
http://london.openguides.org/old-list-archives/