bash script to compare semantic versions, returning 'greater', 'less', or 'equal'. limited to 3-parts less than 1000000 each... but easily modable to more... the limitation is bash's integer comparison max combined w/ the comparison mechanism... it currently 0-pads each of 3 parts to 6 chars then cat's them, and 999999999999999999 appears to be the max on my system, and fits my current requirement
-
Notifications
You must be signed in to change notification settings - Fork 0
bash script to compare (at least 3-part ) semantic versions, returning 'greater', 'less', or 'equal'
License
oneeyedziggy/semanticVersionComparison
Folders and files
Name | Name | Last commit message | Last commit date | |
---|---|---|---|---|
Repository files navigation
About
bash script to compare (at least 3-part ) semantic versions, returning 'greater', 'less', or 'equal'
Resources
License
Stars
Watchers
Forks
Releases
No releases published
Packages 0
No packages published