Skip to content

Instantly share code, notes, and snippets.

@seansawyer
Created May 20, 2011 20:19
Show Gist options
  • Save seansawyer/983715 to your computer and use it in GitHub Desktop.
Save seansawyer/983715 to your computer and use it in GitHub Desktop.
Extract an OTP application version number from an Erlang .app file
awk "/\\{vsn, \"([0-9]+)\"\\}/" src/synchole.app.src | sed -En "s/[^[:digit:]]*([[:digit:]]+)[^[:digit:]]*/\1/p"
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment