From owner-freebsd-stable@FreeBSD.ORG  Wed Jul  9 14:26:50 2014
Return-Path: <owner-freebsd-stable@FreeBSD.ORG>
Delivered-To: freebsd-stable@freebsd.org
Received: from mx1.freebsd.org (mx1.freebsd.org [8.8.178.115])
 (using TLSv1 with cipher ADH-AES256-SHA (256/256 bits))
 (No client certificate requested)
 by hub.freebsd.org (Postfix) with ESMTPS id 322689A8
 for <freebsd-stable@freebsd.org>; Wed,  9 Jul 2014 14:26:50 +0000 (UTC)
Received: from sola.nimnet.asn.au (paqi.nimnet.asn.au [115.70.110.159])
 (using TLSv1 with cipher DHE-RSA-AES256-SHA (256/256 bits))
 (Client did not present a certificate)
 by mx1.freebsd.org (Postfix) with ESMTPS id 99B4123D2
 for <freebsd-stable@freebsd.org>; Wed,  9 Jul 2014 14:26:49 +0000 (UTC)
Received: from localhost (localhost [127.0.0.1])
 by sola.nimnet.asn.au (8.14.2/8.14.2) with ESMTP id s69EQkYR076587;
 Thu, 10 Jul 2014 00:26:46 +1000 (EST)
 (envelope-from smithi@nimnet.asn.au)
Date: Thu, 10 Jul 2014 00:26:46 +1000 (EST)
From: Ian Smith <smithi@nimnet.asn.au>
To: decvt100@gmail.com, freebsd-stable@freebsd.org
Subject: Re: Issues using new_xorg pkg repository
Message-ID: <20140710002421.S50382@sola.nimnet.asn.au>
MIME-Version: 1.0
Content-Type: TEXT/PLAIN; charset=US-ASCII
X-BeenThere: freebsd-stable@freebsd.org
X-Mailman-Version: 2.1.18
Precedence: list
List-Id: Production branch of FreeBSD source code <freebsd-stable.freebsd.org>
List-Unsubscribe: <http://lists.freebsd.org/mailman/options/freebsd-stable>,
 <mailto:freebsd-stable-request@freebsd.org?subject=unsubscribe>
List-Archive: <http://lists.freebsd.org/pipermail/freebsd-stable/>
List-Post: <mailto:freebsd-stable@freebsd.org>
List-Help: <mailto:freebsd-stable-request@freebsd.org?subject=help>
List-Subscribe: <http://lists.freebsd.org/mailman/listinfo/freebsd-stable>,
 <mailto:freebsd-stable-request@freebsd.org?subject=subscribe>
X-List-Received-Date: Wed, 09 Jul 2014 14:26:50 -0000

Sorry, fat-fingered the ccs in my reply, Pete got his ..

On Wed, 9 Jul 2014 14:37:41 +0100, Pete French wrote:
 > > As you can see, the macro ${ABI} has been deleted from the config file.
 > > ......
 > > << EOF, this macro is deleted (I don't know why, maybe it depends on shell you=20
 > > are using).
 > 
 > Aha, yes, thats it exactly! I am using /bin/sh - and that will
 > try and expand the 4{ABI} itself I guess. Though surely it
 > shouldnt when using a here file ?
 > 
 > Anyway, that fixes it, thankyou!

It fails in csh too, but at least noisily :)

Using \$ preserves ${ABI} in the output file, in sh and csh at least.

cheers, Ian