Added the forgotten filter. And a small test file that hangs
authorHeikki Levanto <heikki@indexdata.dk>
Wed, 8 Dec 2004 13:44:24 +0000 (13:44 +0000)
committerHeikki Levanto <heikki@indexdata.dk>
Wed, 8 Dec 2004 13:44:24 +0000 (13:44 +0000)
test/mbox/email2.flt [new file with mode: 0644]
test/mbox/vm [new file with mode: 0644]
test/mbox/vm2

diff --git a/test/mbox/email2.flt b/test/mbox/email2.flt
new file mode 100644 (file)
index 0000000..db2cacf
--- /dev/null
@@ -0,0 +1,15 @@
+BEGIN /.*$/ { begin record email; begin context headers }
+
+/^From .*$/ { unread 0; end element; end record }
+
+CONTEXT {headers}
+
+/^[A-Z][^:]*/ /: / { end element; begin element $0 }
+
+/\n\n/   { end context; end element; begin element body }
+
+/\n/    {}
+/^\t/    { data " " }
+/^ /    { data " " }
+
+END { end record }
diff --git a/test/mbox/vm b/test/mbox/vm
new file mode 100644 (file)
index 0000000..03765f4
--- /dev/null
@@ -0,0 +1,3 @@
+
+Li
+
index 949a692..3137465 100644 (file)
@@ -1,14 +1,2 @@
-# VMware software license  - All data changed to protect everybody
-Fields = "Cpt, Name, LicenseType, LicenseClass, Count, LicenseKey, ProductID, ProductType" 
-StartFields = "Cpt, Name, LicenseType, LicenseClass, Field2" 
-Field2 = "Count, LicenseKey, ProductID, ProductType" 
-Cpt = "COPYRIGHT (c) VMware, Inc. 1999" 
-Name = "Index Data 1 of 1" 
 LicenseType = "User" 
 LicenseClass = "Commercial" 
-Count = "1 of 1" 
-LicenseKey = "xxxxxx.xxxxx.xx.x" 
-ProductID = "VMware for Linux" 
-ProductType = "x.x" 
-
-Hash = 3xxxxxxx-xxxxxxxx-xxxxxxxx-xxxxxxxx-xxxxxxxx