#!/usr/local/bin/python3 

import sys

print(sys.argv[1:])

infile = sys.argv[1]
outfile = infile + ".out"

f = open(infile,'r')
out=open(outfile,'w')

res_list = []
index=0
for line in f.readlines():
    index=index+1
    if line in res_list:
        print('{0} line duplication: {1}'.format(index, line))
    else:
        out.write(line)
        res_list.append(line)

a31c2b205421b11e0807b1f33c6df2380a1e92d6
<mask token>

<mask token>
print(sys.argv[1:])
<mask token>
for line in f.readlines():
    index = index + 1
    if line in res_list:
        print('{0} line duplication: {1}'.format(index, line))
    else:
        out.write(line)
        res_list.append(line)

<mask token>
print(sys.argv[1:])
infile = sys.argv[1]
outfile = infile + '.out'
f = open(infile, 'r')
out = open(outfile, 'w')
res_list = []
index = 0
for line in f.readlines():
    index = index + 1
    if line in res_list:
        print('{0} line duplication: {1}'.format(index, line))
    else:
        out.write(line)
        res_list.append(line)

import sys
print(sys.argv[1:])
infile = sys.argv[1]
outfile = infile + '.out'
f = open(infile, 'r')
out = open(outfile, 'w')
res_list = []
index = 0
for line in f.readlines():
    index = index + 1
    if line in res_list:
        print('{0} line duplication: {1}'.format(index, line))
    else:
        out.write(line)
        res_list.append(line)

#!/usr/local/bin/python3 

import sys

print(sys.argv[1:])

infile = sys.argv[1]
outfile = infile + ".out"

f = open(infile,'r')
out=open(outfile,'w')

res_list = []
index=0
for line in f.readlines():
    index=index+1
    if line in res_list:
        print('{0} line duplication: {1}'.format(index, line))
    else:
        out.write(line)
        res_list.append(line)
