filevercmp - Compare version strings as in sort --version-sort

Property Value
Distribution FreeBSD 12
Repository FreeBSD Ports Quarterly amd64
Package filename filevercmp-g20151117.txz
Package name filevercmp
Package version g20151117
Package release -
Package architecture amd64
Package type txz
Category sysutils
License GPLv3
Download size 15.93 KB
Installed size 54.33 KB
Compare version strings:
This function compares strings S1 and S2:
By PREFIX in the same way as strcmp.
Then by VERSION (most similarly to version compare of Debian's dpkg).
Leading zeros in version numbers are ignored.
If both (PREFIX and VERSION) are equal, strcmp function is used for
comparison. So this function can return 0 if (and only if) strings S1 and
S2 are identical.
It returns number >0 for S1 > S2, 0 for S1 == S2 and number <0 for S1 < S2.


Package Version Architecture Repository
filevercmp-g20151117.txz g20151117 i386 FreeBSD Ports Quarterly
filevercmp-g20151117.txz g20151117 amd64 FreeBSD Ports Latest
filevercmp-g20151117.txz g20151117 i386 FreeBSD Ports Latest
filevercmp - - -


Type URL
Binary Package filevercmp-g20151117.txz
Source Package sysutils/filevercmp

Install Howto

Install filevercmp txz package:

# pkg install filevercmp

See Also

Package Description
filewatcherd-1.0.b3,1.txz Daemon that watches files and runs commands when they change
filezilla-3.40.0_4.txz Fast and reliable cross-platform FTP, FTPS, and SFTP client
fillets-ng-1.0.1_8.txz Wonderful puzzle game
filtermail-0.8.3_1.txz Filter mail on a POP3 server: saves downloading spam
filters-2.55.txz Collection of filters, including B1FF, and the Swedish Chef
filtron-g20180218_1.txz Filtering reverse HTTP proxy
finch-2.13.0_2.txz Finch multi-protocol messaging client (Console UI)
find-cursor-1.4.txz Simple XLib program to highlight the cursor position
find_zlib-1.9.txz Scans files for statically linked zlib (libz) code
findmaildirs-0.4.txz Simple utility to create list of maildirs for mutt
findmtu-0.9.txz Tool for performing IPv6 path MTU discovery on *NIX
findutils-4.7.0.txz GNU find utilities
finfo-0.1.txz Finfo displays potentially useful information about a file
fio-3.16_1.txz Flexible IO tester
fira-4.301_1.txz Sans-serif, monospaced, and code typeface for small screens