Skip to content

Instantly share code, notes, and snippets.

View kevinziegler's full-sized avatar

Kevin Ziegler kevinziegler

View GitHub Profile
#!/bin/bash
set -e
# https://stackoverflow.com/questions/4023830/how-to-compare-two-strings-in-dot-separated-version-format-in-bash
function vercomp() {
if [[ $1 == $2 ]]
then
return 0
fi
local IFS=.

Keybase proof

I hereby claim:

  • I am kevinziegler on github.
  • I am kziegler (https://keybase.io/kziegler) on keybase.
  • I have a public key ASBzNY6YZahxRHVYIKQykGIOpSfnKpFrMuoL2wO-YOghHwo

To claim this, I am signing this object: