I want to search in a long sentence (more than 1024 letters).
I have one text file (
test.txt) which has one long sentence, like this:
Now I want to check which line contains the word
saf. This command just shows the whole sentence:
less test.txt | grep saf
Is it possible to get a part of the sentence or should I use a command other than