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
|
Date: Sun, 16 Nov 2003 22:24:50 -0700
From: Grant Hollingworth <grant@antiflux.org>
Package: dict-devil
Version: 1.0-7
Severity: minor
Tags: patch
The headers for each letter are kept in the formatted dictionary. 'A'
gets included in the database info.
An extra bit of sed gets rid of them:
--- dict-devil-1.0/debian/rules-orig Sun Nov 16 10:12:03 2003
+++ dict-devil-1.0/debian/rules Sun Nov 16 20:54:08 2003
@@ -81,7 +81,7 @@
$(checkdir)
test -f stamp-build || $(MAKE) -f debian/rules build
rm -rf debian/tmp*
- sed 's/^[[:upper:]]\{2,\}/:&:/' ./devils.txt | \
+ sed '/^[[:space:]]\{1,\}[[:upper:]]$/d;s/^[[:upper:]]\{2,\}/:&:/' ./devils.txt | \
/usr/bin/dictfmt -j -u http://wiretap.area.com/Gopher/Library/Classic/devils.txt\
-s "The Devil's Dictionary (1881-1906)" devil
/usr/bin/dictzip devil.dict
-- System Information
Debian Release: 3.0
Architecture: i386
Kernel: Linux okcomputer 2.4.21 #1 SMP Fri Jun 13 14:24:50 MDT 2003 i686
Locale: LANG=en_CA, LC_CTYPE=en_CA
Versions of packages dict-devil depends on:
ii dictd 1.9.10-2 Dictionary Server
ii dictd [dict-server] 1.9.10-2 Dictionary Server
|