5 lines
107 B
Bash
Executable File

#!/bin/sh
VERSION="$(grep '^AC_INIT' configure.ac | grep -E -o '[0-9]+\.[0-9]+\.[0-9]+')"
echo "$VERSION"