Re: FVWM: Question : Command evaluation when setting environment variables possible ?

From: Scott Smedley <ss_at_aaoepp.aao.GOV.AU>
Date: Fri, 6 Aug 2004 15:54:28 +1000

> I need to set the hostname of my machine dynamically within the .fvwm2rc file.
> Unfortunately the command evaluation within back ticks
> SetEnv HOSTNAME `/bin/hostname`
> does not work.
>
> Is there another possibility

One way to do it is to use a PipeRead:

PipeRead 'echo "SetEnv FRANK `hostname`"'
Echo $[FRANK]

SCoTT. :)
--
Visit the official FVWM web page at <URL: http://www.fvwm.org/>.
To unsubscribe from the list, send "unsubscribe fvwm" in the body of a
message to majordomo_at_fvwm.org.
To report problems, send mail to fvwm-owner_at_fvwm.org.
Received on Fri Aug 06 2004 - 00:57:31 BST

This archive was generated by hypermail 2.3.0 : Mon Aug 29 2016 - 19:37:57 BST