blob: dd29de60a95322b9156baa866465249a4f03ec49 (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
|
$NetBSD: patch-af,v 1.6 2006/09/16 15:29:35 hira Exp $
--- english.sed.orig 1998-08-20 16:07:28.000000000 +0000
+++ english.sed 2005-12-19 16:58:05.000000000 +0000
@@ -2,2 +2,7 @@
+# Unfortunately, under Mandrake 10.1, sed only allows ranges in character
+# classes to be bound by alphanumeric characters. So ~ is an invalid
+# end of range character, and [ -~] causes an error. This is GNU sed
+# 4.1.1, apparently with pcre. The workaround is to specify all the
+# characters individually.
/^#/d
-/^[ -~]*$/!d
+/^[][ !"#$%&'()*+,.\/0-9:;<=>?@A-Z_a-z{|}~-]*$/!d
|