X-Authentication-Warning: delorie.com: mail set sender to geda-help-bounces using -f X-Recipient: geda-help AT delorie DOT com X-Spam-Checker-Version: SpamAssassin 3.3.1 (2010-03-16) on mail.theimps.com X-Spam-Level: X-Spam-Status: No, score=-100.0 required=5.0 tests=ALL_TRUSTED,SHORTCIRCUIT shortcircuit=ham autolearn=disabled version=3.3.1 From: Peter TB Brett To: geda-help AT delorie DOT com Subject: Re: [geda-help] Dirt Dumb Level.. Date: Wed, 12 Dec 2012 23:36:13 +0000 Message-ID: <3323134.U0L5kasnFv@harrington.peter-b.co.uk> Organization: Surrey Space Centre X-Face: $N}{5?\D>xr}zi]BChHp)X[G,\Z"lc+zdwps1*EiY,{!&t+x49]lIKpn`*U4cV~^-4|lNw 2T9+3y AT -cV}7TSB[F8'Cglfe#b6BrI.^AI-7|$;O AT d6Ons!`h0\{-I/U6D]8v=P User-Agent: KMail/4.9.3 (Linux/3.6.9-2.fc17.x86_64; KDE/4.9.3; x86_64; ; ) In-Reply-To: <1355342881.1739.13.camel@hoho6.chidig.com> References: <1355205873 DOT 14812 DOT 39 DOT camel AT hoho6 DOT chidig DOT com> <1763693 DOT MV8q8EB28b AT harrington DOT peter-b DOT co DOT uk> <1355342881 DOT 1739 DOT 13 DOT camel AT hoho6 DOT chidig DOT com> MIME-Version: 1.0 Content-Type: multipart/signed; boundary="nextPart1686950.ulWt4lhDtP"; micalg="pgp-sha1"; protocol="application/pgp-signature" Content-Transfer-Encoding: 7Bit Reply-To: geda-help AT delorie DOT com Errors-To: nobody AT delorie DOT com X-Mailing-List: geda-help AT delorie DOT com X-Unsubscribes-To: listserv AT delorie DOT com Precedence: bulk --nextPart1686950.ulWt4lhDtP Content-Transfer-Encoding: 7Bit Content-Type: text/plain; charset="us-ascii" On Wednesday 12 December 2012 14:08:01 you wrote: > On Wed, 2012-12-12 at 19:33 +0000, Peter TB Brett wrote: > > > > You're looking for the 'expand-env-variables' function. > > > > (expand-env-variables "${HOME}") > > --> "/home/peter" > > > > Cheers, > > > > Peter > > [user1 AT hoho6 ~]$ guile > guile> (expand-env-variables "${HOME}") > expand-env-variables is a Scheme function provided by gEDA, and is only available in gEDA applications. If you are running 1.9.0 or newer, you can get a gEDA-specific Scheme REPL by running `gaf shell'. Peter -- Peter Brett Remote Sensing Research Group Surrey Space Centre --nextPart1686950.ulWt4lhDtP Content-Type: application/pgp-signature; name="signature.asc" Content-Description: This is a digitally signed message part. -----BEGIN PGP SIGNATURE----- Version: GnuPG v2.0.19 (GNU/Linux) iEYEABECAAYFAlDJFPYACgkQZ7Gbq7g7vpolYwCaA/F3MPOvCm/9obi/AXBXaQ+K K+8An3HwXNlLQXpJJIadxuKDy+6Cv73i =8uqU -----END PGP SIGNATURE----- --nextPart1686950.ulWt4lhDtP--