diff options
author | jlam <jlam> | 2006-04-14 13:43:23 +0000 |
---|---|---|
committer | jlam <jlam> | 2006-04-14 13:43:23 +0000 |
commit | 3bb1d915c28ddd253dd2f812e8f4aec6280e23be (patch) | |
tree | acda8b4495dcf2e6cbafa44c12995bd66e701c2a | |
parent | f67ad5029bf8496c629509f21c2c0c51a866d650 (diff) | |
download | pkgsrc-3bb1d915c28ddd253dd2f812e8f4aec6280e23be.tar.gz |
Document the puzzling line that strips "#~" from the start of lines.
Explanation provided by jmmv in private email.
-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. |