Main
Compare new with existing List
#!/bin/bash
# read the new list
t=$(cat new_tld.txt)
for i in $t
do
# Check if the existing list allready cointains the string
cat existing_tld.txt | grep $i
if
# Test exit status from grep
[ $? -ne 0 ]
then
# exit status is one, so the string does not exist. Therefore it is added to a new file.
echo $i >> delta.tx
fi
doneShow dublicated entries
Current List
Last updated