#!/usr/bin/env python import re import sys from subprocess import Popen, PIPE def main(): if len(sys.argv) < 2: print >>sys.stderr, 'Usage: %s