diff options
author | jlam <jlam@pkgsrc.org> | 2006-04-14 13:43:23 +0000 |
---|---|---|
committer | jlam <jlam@pkgsrc.org> | 2006-04-14 13:43:23 +0000 |
commit | 64e0169c61bb94f5dd5ae24cd1b56b698c2b9267 (patch) | |
tree | acda8b4495dcf2e6cbafa44c12995bd66e701c2a /mk/tools/msgfmt.sh | |
parent | 6119c48d1f80568782f6ec0f2817155ba78232fe (diff) | |
download | pkgsrc-64e0169c61bb94f5dd5ae24cd1b56b698c2b9267.tar.gz |
Document the puzzling line that strips "#~" from the start of lines.
Explanation provided by jmmv in private email.
Diffstat (limited to 'mk/tools/msgfmt.sh')
-rwxr-xr-x | mk/tools/msgfmt.sh | 8 |
1 files changed, 6 insertions, 2 deletions
diff --git a/mk/tools/msgfmt.sh b/mk/tools/msgfmt.sh index 30f0f5086e0..01214ba22b0 100755 --- a/mk/tools/msgfmt.sh +++ b/mk/tools/msgfmt.sh @@ -1,6 +1,6 @@ #!/bin/sh # -# $NetBSD: msgfmt.sh,v 1.3 2006/04/14 13:40:07 jlam Exp $ +# $NetBSD: msgfmt.sh,v 1.4 2006/04/14 13:43:23 jlam Exp $ # # Copyright (c) 2006 The NetBSD Foundation, Inc. # All rights reserved. @@ -109,7 +109,11 @@ cat $pofile | ${AWK} ' { s = 0 p = 0 - + + # Treat "obsolete" messages identically with non-"obsolete" + # ones so that we do not need to specially handle lines + # starting with "#~". + # sub("^#~", "") # Buffer any "msgid" statements into the singular array. |