Pull matching names in one word from text files
I have a list of many users, and I would only like to combine them with one word in them
**txt1.txt**
charles
first
charles users
user sample
sample
**txt2.txt**
mike
charles users
charles
welcome
first
I am using grep to find matches in files
grep -xF -f txt1.txt txt2.txt
What do I need to add or use to match only words with one letter?
+3
source to share