blob: 13eb15bafe533cc473f9702fb964bf371d9f82f0 (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
|
$NetBSD: patch-af,v 1.4 2005/06/16 13:05:55 hira Exp $
--- english.sed.orig 1998-08-20 09:07:28.000000000 -0700
+++ english.sed 2005-02-28 07:24:43.000000000 -0800
@@ -1,0 +2,5 @@
+# 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.
@@ -3 +8 @@
-/^[ -~]*$/!d
+/^[][ !"#$%&'()*+,.\/0-9:;<=>?@A-Z_a-z{|}~-]*$/!d
|