Re: FVWM: Conditionals in fvwm functions

From: Dan Espen <dane_at_mk.telcordia.com>
Date: Sat, 03 Jan 2004 08:09:51 -0500

Piotr Zgorecki <balboa_at_14.pl> writes:
> Hi,
>
> I want to achieve something like this (in pseudocode):
>
> if $HOSTNAME == "host1" then
> Exec Command1
> else
> Exec Command2
> fi
>
> Unfortunately, I can't find in the manpage any command for conditional
> execution, which would test environment variables.
>
> Do I really have to resort to a preprocessor?

Look in the man page for PipeRead.

-- 
Dan Espen                           E-mail: dane_at_mk.telcordia.com
--
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 Sat Jan 03 2004 - 07:13:17 GMT

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