• Yokemate of Keyboards
    Yokemate of Keyboards
    Papiosaur
    Posts: 2053 from 2003/4/10
    From: France
    Quote:

    jPV a écrit :
    Quote:

    Papiosaur wrote:
    Do you think an internal function to find version string will be more speed than the AmigaDOS command "version"?

    Probably not, I'd just try to parse the output from the Version command better (to tolerate line changes and whatever you might come up).


    Thanks a lot for your help but format of version strings are very different from software to another software...

    Some examples:
    r2
    x.x
    x.x.x
    x.x.x.x
    xx.xx
    x.x.xgit
    x.xx.x
    x.xxx
    x.xbxx
    x.xx
    xx.x.x
    x.x.xx
    xx.xx.xxxx (date)
    xxx.xx.x
    xx.xxx
    x.x.x-x

    Sometimes the version string is empty...

    Sometimes command version don't found the version string...

    Sometimes the version string is not the version of the software...

    Sometimes i must use FULL option for commmand version, sometimes not...

    Sometimes the version string is on the first column, second, ...., seventh columns of the version string...

    I think a universal solution will be very difficult to do.

    I realize some "Case" to show the good version number...

    It's a long long processus but work when all is configured correctly ;-)
  • »22.09.23 - 17:20
    Profile Visit Website