diff options
Diffstat (limited to 'mk')
-rwxr-xr-x | mk/scripts/genindex.awk | 14 |
1 files changed, 7 insertions, 7 deletions
diff --git a/mk/scripts/genindex.awk b/mk/scripts/genindex.awk index f13a94d1ce8..9e7f1a08631 100755 --- a/mk/scripts/genindex.awk +++ b/mk/scripts/genindex.awk @@ -1,5 +1,5 @@ #!/usr/bin/awk -f -# $NetBSD: genindex.awk,v 1.6 2006/12/15 13:15:06 martti Exp $ +# $NetBSD: genindex.awk,v 1.7 2008/09/07 11:13:51 wiz Exp $ # # Copyright (c) 2002, 2003 The NetBSD Foundation, Inc. # All rights reserved. @@ -345,12 +345,12 @@ function find_all_depends(pkg, type, pkgreg, i, deps, depdir, topdep){ # we'll distinguish things like gnome from gnome-libs # function reg2str(reg){ - gsub(/\./, "\\\.", reg); - gsub(/\+/, "\\\+", reg); - gsub(/\*/, "\\\*", reg); - gsub(/\?/, "\\\?", reg); - gsub(/\[/, "\\\[", reg); - gsub(/\]/, "\\\]", reg); + gsub(/\./, "\\.", reg); + gsub(/\+/, "\\+", reg); + gsub(/\*/, "\\*", reg); + gsub(/\?/, "\\?", reg); + gsub(/\[/, "\\[", reg); + gsub(/\]/, "\\]", reg); reg = " "reg" "; return(reg); } |