Can a grep command be constructed to so it will return all lines with only a specific word or phrase but won't return any lines that contain the same word or phrase when it contains additional words? For example, if a list contains:
Test TestNumber2 Test Num 3 Test Nbr4 Test Random text Test with more Random Test data. What if a Test contains this text?
I would like to find a way to return only the lines that contains the single word "Test". In this case, it would return only line 1.