summaryrefslogtreecommitdiff
path: root/mk/tools/msgfmt.sh
diff options
context:
space:
mode:
Diffstat (limited to 'mk/tools/msgfmt.sh')
-rwxr-xr-xmk/tools/msgfmt.sh6
1 files changed, 3 insertions, 3 deletions
diff --git a/mk/tools/msgfmt.sh b/mk/tools/msgfmt.sh
index 797d91afde5..9b971a574d0 100755
--- a/mk/tools/msgfmt.sh
+++ b/mk/tools/msgfmt.sh
@@ -1,6 +1,6 @@
#!/bin/sh
#
-# $NetBSD: msgfmt.sh,v 1.22 2006/06/13 13:30:40 jlam Exp $
+# $NetBSD: msgfmt.sh,v 1.23 2006/06/20 22:35:25 jlam Exp $
#
# Copyright (c) 2006 The NetBSD Foundation, Inc.
# All rights reserved.
@@ -130,9 +130,9 @@ BEGIN {
SPACE = "[ ]*"
KEYWORD_SEP = "([ ]+|[ ]*\"|$)"
OBSOLETE = "#~ "
- OBSOLETE_RE = "^(#~[ ]+)?"
+ OBSOLETE_RE = "^(#~[ ]+)?[ ]*"
OBSOLETE_RE_MATCH = "^#~[ ]+"
- MSG_CONTINUATION_RE = OBSOLETE_RE "[ ]*\""
+ MSG_CONTINUATION_RE = OBSOLETE_RE "\""
result = getline
if (result < 1) exit result