ledger/scripts/version
2004-07-29 17:25:28 -04:00

5 lines
136 B
Bash
Executable file

#!/bin/sh
cat ledger.cc | \
grep "^const std::string version" | \
sed 's/const std::string version = "\([0-9.A-Za-z]*\)";/\1/'