diff options
Diffstat (limited to 'scripts')
-rwxr-xr-x | scripts/stripreg | 16 |
1 files changed, 0 insertions, 16 deletions
diff --git a/scripts/stripreg b/scripts/stripreg deleted file mode 100755 index c974e646..00000000 --- a/scripts/stripreg +++ /dev/null @@ -1,16 +0,0 @@ -#!/usr/bin/python - -import sys -import re - -print_total = 0 - -def clean(num): - return float(re.sub("(\s+|\$|,)","",num)) - -for line in sys.stdin: - print line[:10], - if print_total: - print clean(line[68:80]) - else: - print clean(line[55:67]) |