I am trying to print all words that are 3 chararcers long and those characters are from [a-s] interval. I have tried followinggrep '\<[a-s]\{3\}\>' file.txtwhich outputs nothing , i have also tried grep '^[a-s]\{3\}$' file.txtwhich also did nothing even when file containes just one word. (for ^ as start and $ as end of the line)How could i input words 3 char long from char interval / and how could i print words 3char long without interval?
Finding word with centain length containing characters from interval
grep;regular expression