Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with HTTPS or Subversion.

Download ZIP
tree: 7895b154b9
Fetching contributors…

Cannot retrieve contributors at this time

22 lines (18 sloc) 0.382 kb
#!/usr/bin/env python
# coding: utf-8
#
$license
import re
import sys
if __name__ == "__main__":
try:
filename = sys.argv[1]
assert filename != "-"
fd = open(filename)
except:
fd = sys.stdin
line_re = re.compile(r'="([^"]+)"')
for line in fd:
line = line_re.sub(r"=\\1", line)
sys.stdout.write(line)
fd.close()
Jump to Line
Something went wrong with that request. Please try again.