Skip site navigation (1)Skip section navigation (2)
Date:      Tue, 21 May 1996 16:01:38 -0700
From:      Archie Cobbs <archie@whistle.com>
To:        FreeBSD-gnats-submit@freebsd.org
Subject:   bin/1230: make ``.for'' loops iterate backwards
Message-ID:  <199605212301.QAA20561@bubba.whistle.com>
Resent-Message-ID: <199605212310.QAA08699@freefall.freebsd.org>

next in thread | raw e-mail | index | archive | help

>Number:         1230
>Category:       bin
>Synopsis:       make ``.for'' loops iterate backwards
>Confidential:   no
>Severity:       non-critical
>Priority:       medium
>Responsible:    freebsd-bugs
>State:          open
>Class:          sw-bug
>Submitter-Id:   current-users
>Arrival-Date:   Tue May 21 16:10:01 PDT 1996
>Last-Modified:
>Originator:     Archie Cobbs
>Organization:
Whistle Communications, Inc.
>Release:        FreeBSD 2.1-STABLE i386
>Environment:

	FreeBSD-2.1R, 2.2-current, ??

>Description:

	The make(1) construct ``.for VAR in ${ARGS}'' iterates
	from the last field in ${ARGS} to the first, instead of
	the other way around (as specified in the man page).

>How-To-Repeat:

	Create the following makefile and run make:

		ORIG=	a b c

		.for VAR in ${ORIG}
		LIST+=	${VAR}
		.endfor

		default:
			@echo ${LIST}

>Fix:

	Unknown

>Audit-Trail:
>Unformatted:



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?199605212301.QAA20561>