mirror of
https://github.com/TECHNOFAB11/bumpver.git
synced 2025-12-12 14:30:09 +01:00
8 lines
170 B
Python
Executable file
8 lines
170 B
Python
Executable file
#!/usr/bin/env python
|
|
# if you know a bash one liner for this, be my guest
|
|
import sys
|
|
|
|
data = open(sys.argv[1]).read(10)
|
|
has_data = len(data) > 0
|
|
|
|
sys.exit(has_data)
|