#!/usr/bin/python3

import sys, re;

read_file = open(sys.argv[1])
file_lines = read_file.readlines()
lines = []

for line in file_lines:
    line = line.strip()
    line = re.sub(' +', ' ', line)
    line = re.sub(r'\@[^ ]*', '@example.com', line)
    lines.append(line)


write_file = open(sys.argv[1], "w")
for line in lines:
    write_file.write(line+"\n")

3594033fa89263e3816fc4c3c0039cc1e9070899
<mask token>

<mask token>
for line in file_lines:
    line = line.strip()
    line = re.sub(' +', ' ', line)
    line = re.sub('\\@[^ ]*', '@example.com', line)
    lines.append(line)
<mask token>
for line in lines:
    write_file.write(line + '\n')

<mask token>
read_file = open(sys.argv[1])
file_lines = read_file.readlines()
lines = []
for line in file_lines:
    line = line.strip()
    line = re.sub(' +', ' ', line)
    line = re.sub('\\@[^ ]*', '@example.com', line)
    lines.append(line)
write_file = open(sys.argv[1], 'w')
for line in lines:
    write_file.write(line + '\n')

import sys, re
read_file = open(sys.argv[1])
file_lines = read_file.readlines()
lines = []
for line in file_lines:
    line = line.strip()
    line = re.sub(' +', ' ', line)
    line = re.sub('\\@[^ ]*', '@example.com', line)
    lines.append(line)
write_file = open(sys.argv[1], 'w')
for line in lines:
    write_file.write(line + '\n')

#!/usr/bin/python3

import sys, re;

read_file = open(sys.argv[1])
file_lines = read_file.readlines()
lines = []

for line in file_lines:
    line = line.strip()
    line = re.sub(' +', ' ', line)
    line = re.sub(r'\@[^ ]*', '@example.com', line)
    lines.append(line)


write_file = open(sys.argv[1], "w")
for line in lines:
    write_file.write(line+"\n")
