radare2/sys/version.py
2017-07-10 09:52:00 +02:00

10 lines
203 B
Python

#!/usr/bin/env python
""" Portable python script to read version from configure.acr """
import sys
with open('configure.acr', 'r') as f:
f.readline()
sys.stdout.write(f.readline().split()[1])