ksh Loop through file one, remove lines from file two

Good Afternoon,

I start with a file named biglist.txt.
I have another file smallerlist. txt

I want to remove the lines from smallerlist.txt from biglist.txt and leave those lines that do not reside in smallerlist.txt.

Thanks !!

You might be able to do this with just grep.

mute@thedoctor:~$ cat biglist.txt
foo
something
bar
else
mute@thedoctor:~$ cat smallerlist.txt
foo
bar
mute@thedoctor:~$ grep -F -v -f smallerlist.txt biglist.txt
something
else

Also try -x option if you don't want foo in the smallerlist.txt excluding food or foolish in biglist.txt