Thank you for the quick reply.
Number 2 worked. Thank You!
1. No it does not give me any errors, but nothing happens.
To double check, I put the commands on the prompt manually
$ echo $wordlist
$ sed -e /"$bar"/d -i $wordlist
$ cat /home/me/scripts/wordlist.txt | grep shun
3. Could you please tell me where to place ^ and $? This is the way I tried (and some variants of backslash)
$ echo /^"$bar"\$/d -i /home/me/scripts/wordlist.txt
/^shun$/d -i /home/me/scripts/wordlist.txt
The second line is the output, but it does not do anything.