Files
lazarus-ccr/applications/cactusjukebox/tools/get_cactus_version_string.sh

4 lines
156 B
Bash
Raw Normal View History

#!/bin/bash
# argument must be path to cactus_const.inc
cat $1 | grep ' *CACTUS_VERSION *=.*;' | sed -e 's/const....[A-Z_ =;]*.//g' -e 's/.;//g' -e's/ //g'