Skip to content

Instantly share code, notes, and snippets.

@kamiller
Created August 28, 2012 18:18
Show Gist options
  • Save kamiller/3501658 to your computer and use it in GitHub Desktop.
Save kamiller/3501658 to your computer and use it in GitHub Desktop.
compare debian package versions for equality
dpkg --compare-versions "1.0.11~rc1" gt "1.0-10" && echo "1.0-11 greater than RC"
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment