Scott Smedley <scottie7_at_tpg.com.au> 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: 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 Thu Jul 01 2004 - 08:25:32 BST