pkgsrc-Changes archive
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]
CVS commit: pkgsrc/mk/help
Module Name: pkgsrc
Committed By: rillig
Date: Sun Aug 25 20:30:12 UTC 2019
Modified Files:
pkgsrc/mk/help: help.awk
Log Message:
mk/help: remove unnecessary backslash before # in AWK program
GNU Awk on Cygwin warns about these.
To generate a diff of this commit:
cvs rdiff -u -r1.33 -r1.34 pkgsrc/mk/help/help.awk
Please note that diffs are not public domain; they are subject to the
copyright notices on the relevant files.
Modified files:
Index: pkgsrc/mk/help/help.awk
diff -u pkgsrc/mk/help/help.awk:1.33 pkgsrc/mk/help/help.awk:1.34
--- pkgsrc/mk/help/help.awk:1.33 Sun Apr 28 12:10:24 2019
+++ pkgsrc/mk/help/help.awk Sun Aug 25 20:30:11 2019
@@ -1,4 +1,4 @@
-# $NetBSD: help.awk,v 1.33 2019/04/28 12:10:24 rillig Exp $
+# $NetBSD: help.awk,v 1.34 2019/08/25 20:30:11 rillig Exp $
#
# This program extracts the inline documentation from *.mk files.
@@ -159,7 +159,7 @@ $1 ~ /:$/ && $2 == ".PHONY" {
# Everything else is assumed to belong to the explaining text.
#
NF >= 1 && !/^[\t.]/ && !/^#*$/ && !/^#\t\t/ {
- w = ($1 ~ /^\#[A-Z]/) ? substr($1, 2) : ($1 == "#") ? $2 : $1;
+ w = ($1 ~ /^#[A-Z]/) ? substr($1, 2) : ($1 == "#") ? $2 : $1;
# Reduce VAR.<param>, VAR.${param} and VAR.* to VAR.
sub(/\.[<$].*[>}]$/, "", w);
Home |
Main Index |
Thread Index |
Old Index