DEBSOURCES
Skip Quicknav
sources / bacula / 15.0.3-5 / scripts / getver
123456789
#!/bin/sh versionh=$1 if [ ! -f "$1" ]; then echo "Usage: $0 version.h" >&2 exit 1 fi sed -n -e 's/^#define VERSION.*"\(.*\)"$/\1/p' $versionh