Including output of environment variable in command line?

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



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




[Index of Archives]     [Linux for the Blind]     [Fedora Discussioin]     [Linux Kernel]     [Yosemite News]     [Big List of Linux Books]
  Powered by Linux