disposable-email-domains/alpha_insert.sh
Chris Garland 279700b9cb asahi.cf
xyzmail.men
raimucok.cf
mmoonz.faith
dusnedesigns.ml
lovemeet.faith
selowhellboy.ml
mediciine.site
fressmind.us
mindsetup.us
fax.dix.asia
koweancenjancok.cf
takeshobo.ml
toplessbucksbabes.us
yahomail.top
sikdar.site
telekucing.cf
nomeucu.ga
sikomo.ga
iwantumake.us
selowhellboy.gq
rockkes.us
sahrulselow.ml
eeemail.win
cebong.ga
ahmadidik.cf
raimuwedos.cf
fobsos.ml
jancokancene.ml
gapemail.ga
mcdonald.cf
jacckpot.site
hdfshsh.stream
boss.cf
tai-asu.ml
abcmail.men
thuguimomo.ga
astaghfirulloh.cf
dettol.cf
gitumau.ml
flowerss.website
u1.myftp.name
sikomo.gq
zymail.men
instafun.men
sidamail.ga
raiasu.cf
raimucok.cf
openmindedzone.club
cebong.gq
onmail.win
kodaka.gq
powerml.racing
hamusoku.ml
nicegarden.us
sikdar.site
hamusoku.ml
sikomo.gq
sahrulselow.gq
telekgaring.ml
openmindedzone.club
zonamail.ga
raiasu.gq
raimuwedos.cf
dwango.cf
telekgaring.gq
ecocap.ga
finnahappen.com
wantplay.site
ipemail.win
danceml.win
raimuwedos.cf
cebong.gq
raimucok.ml
hangxomcuatoilatotoro.gq
koweancenjancok.gq
birdsfly.press
ccmail.men
2017-10-10 12:01:15 +08:00

25 lines
483 B
Bash
Executable File

#!/bin/bash
temp_file="temp.sort"
num_insertions=0
num_duplicates=0
# Copy contents of second file into first file
# ensuring no duplicates.
while read p; do
if [ $(grep -w $p $2 | wc -l) -eq 0 ]; then
echo $p >> $2
num_insertions=$((num_insertions+1))
else
num_duplicates=$((num_duplicates+1))
fi
done < $1
echo "NUMBER OF INSERTIONS: $num_insertions"
echo "NUMBER OF DUPLICATES: $num_duplicates"
sort $2 > $temp_file
cat $temp_file > $2
rm -f $temp_file
#end