X-Authentication-Warning: delorie.com: mail set sender to geda-help-bounces using -f X-Recipient: geda-help AT delorie DOT com Received-SPF: None identity=pra; client-ip=207.181.246.185; receiver=smtp01.lnh.mail.rcn.net; envelope-from="bobgus AT rcn DOT com"; x-sender="bobgus AT rcn DOT com"; x-conformance=sidf_compatible Received-SPF: Neutral identity=mailfrom; client-ip=207.181.246.185; receiver=smtp01.lnh.mail.rcn.net; envelope-from="bobgus AT rcn DOT com"; x-sender="bobgus AT rcn DOT com"; x-conformance=sidf_compatible; x-record-type="v=spf1" Received-SPF: None identity=helo; client-ip=207.181.246.185; receiver=smtp01.lnh.mail.rcn.net; envelope-from="bobgus AT rcn DOT com"; x-sender="postmaster AT hoho4 DOT chidig DOT com"; x-conformance=sidf_compatible Message-ID: <1355360621.1739.45.camel@hoho6.chidig.com> Subject: Re: [geda-help] Dirt Dumb Level.. From: Bob Gustafson To: geda-help AT delorie DOT com Date: Wed, 12 Dec 2012 19:03:41 -0600 In-Reply-To: <3323134.U0L5kasnFv@harrington.peter-b.co.uk> 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> <3323134 DOT U0L5kasnFv AT harrington DOT peter-b DOT co DOT uk> Content-Type: text/plain; charset="UTF-8" X-Mailer: Evolution 3.4.4 (3.4.4-2.fc17) Mime-Version: 1.0 Content-Transfer-Encoding: 7bit X-Junkmail-Whitelist: YES (by domain whitelist at mr16.lnh.mail.rcn.net) 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 On Wed, 2012-12-12 at 23:36 +0000, Peter TB Brett wrote: > 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 > [user1 AT hoho6 ~]$ gaf shell bash: gaf: command not found... [user1 AT hoho6 ~]$ guile guile> gaf shell ERROR: Unbound variable: gaf ABORT: (unbound-variable) guile> ERROR: Unbound variable: shell ABORT: (unbound-variable) guile>