Scott Smedley <[EMAIL PROTECTED]> writes:
> Hi all,
> 
> The "Test" command allows me to take an action if I'm
> running a specific version of FVWM. ie:
> 
> Test (Version 2.5.12) Echo yup
> 
> What'd I'd like is to take an action if the FVWM version is
> GREATER THAN a specific version.
> 
> ie. This is illegal syntax, but shows what I'd like to do.
> 
> Test (Version >= 2.5.12) Echo yup
> 
> Anyone know how I could do something like that?

Use $[version.num] in a piperead.
You will need to parse the result into individual numbers in order
to do arithmetic compares.

-- 
Dan Espen                           E-mail: [EMAIL PROTECTED]
--
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 [EMAIL PROTECTED]
To report problems, send mail to [EMAIL PROTECTED]

Reply via email to