foundationdb/build/get_version.sh

5 lines
84 B
Bash
Executable File

#!/usr/bin/env bash
cat $1 | grep '<Version>' | sed -e 's,^[^>]*>,,' -e 's,<.*,,'