This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
# when adding values from $FROM to $T0 | |
# print only those lines which are not found in $TO | |
# be carefull with partial match | |
FROM=$1 | |
TO=$2 | |
for x in `cat $FROM`;do | |
grep $x $TO > /dev/null; | |
ret=$?; | |
if [ $ret -ne 0 ];then |
OlderNewer