strverscmp version
Uses the OS supplied strverscmp function, which may be useful for certain older-style version comparisons. For more information, see the man page for strverscmp.
Parent: version
Version | Platforms |
---|---|
8.0.584.0 | Red Hat, SUSE |
8.1.535.0 | Debian, Ubuntu |
9.5.13.130 | Raspbian |
Creation
strverscmp version <string> : strverscmp version
<string> as strverscmp version : strverscmp version
Operators
<string> < <strverscmp version> : boolean
<string> <= <strverscmp version> : boolean
<string> = <strverscmp version> : boolean
<strverscmp version> < <string> : boolean
<strverscmp version> <= <string> : boolean
<strverscmp version> <= <strverscmp version> : boolean
<strverscmp version> = <string> : boolean