Including output of environment variable in command line?

William Hubbs kc5eiv at kc5eiv.dhs.org
Thu Sep 20 13:11:16 EDT 2001


Hi Doug,

You're pretty close; just get rid of the second dollar sign.

Your example should look like:

program --directory $HOME/test

William
On Thu, Sep 20, 2001 at 02:18:25PM +0000, Doug Lawlor wrote:
> Hello list, I used to know how to do this but can't think of it at the 
> moment.  How does one go about including the output of an environment 
> variable in a command line?  I thought it was something like the following 
> command line example.
>  'program --directory $HOME$/test' where $HOME$ is the variable I want to 
> insert.  When I try this the program complains it can not find the 
> directory.
> 
> Any help on this would be appreciated.
> 
> Doug
> 
> 
> _______________________________________________
> Speakup mailing list
> Speakup at braille.uwo.ca
> http://speech.braille.uwo.ca/mailman/listinfo/speakup




More information about the Speakup mailing list