Received: by mail.netbsd.org (Postfix, from userid 605) id B6F67855AC; Mon, 30 Jan 2017 02:46:21 +0000 (UTC) Received: from localhost (localhost [127.0.0.1]) by mail.netbsd.org (Postfix) with ESMTP id 42BC585598 for ; Mon, 30 Jan 2017 02:46:21 +0000 (UTC) X-Virus-Scanned: amavisd-new at netbsd.org Received: from mail.netbsd.org ([IPv6:::1]) by localhost (mail.netbsd.org [IPv6:::1]) (amavisd-new, port 10025) with ESMTP id J-daug2sFYoG for ; Mon, 30 Jan 2017 02:46:20 +0000 (UTC) Received: from cvs.NetBSD.org (ivanova.netbsd.org [199.233.217.197]) by mail.netbsd.org (Postfix) with ESMTP id C163984CEF for ; Mon, 30 Jan 2017 02:46:20 +0000 (UTC) Received: by cvs.NetBSD.org (Postfix, from userid 500) id BB97BFBA6; Mon, 30 Jan 2017 02:46:20 +0000 (UTC) Content-Disposition: inline Content-Transfer-Encoding: 8bit Content-Type: text/plain; charset="US-ASCII" MIME-Version: 1.0 Date: Mon, 30 Jan 2017 02:46:20 +0000 From: "Simon J. Gerraty" Subject: CVS commit: src/usr.bin/make To: source-changes@NetBSD.org X-Mailer: log_accum Message-Id: <20170130024620.BB97BFBA6@cvs.NetBSD.org> Sender: source-changes-owner@NetBSD.org List-Id: source-changes.NetBSD.org Precedence: bulk Reply-To: source-changes-d@NetBSD.org Mail-Reply-To: "Simon J. Gerraty" Mail-Followup-To: source-changes-d@NetBSD.org Module Name: src Committed By: sjg Date: Mon Jan 30 02:46:20 UTC 2017 Modified Files: src/usr.bin/make: make.1 var.c src/usr.bin/make/unit-tests: varmisc.exp varmisc.mk Log Message: Add :range and :_ :range replaces var value with an integer sequence one per word in the current var value. :_ stores the current var value in $_ so that it can be referred to later in the modifier series. Reviewed by: christos To generate a diff of this commit: cvs rdiff -u -r1.264 -r1.265 src/usr.bin/make/make.1 cvs rdiff -u -r1.209 -r1.210 src/usr.bin/make/var.c cvs rdiff -u -r1.5 -r1.6 src/usr.bin/make/unit-tests/varmisc.exp cvs rdiff -u -r1.6 -r1.7 src/usr.bin/make/unit-tests/varmisc.mk Please note that diffs are not public domain; they are subject to the copyright notices on the relevant files.