linux - Display whole word from line -


i wanted display unique words output. how define grep expression ?

strings file.txt |grep (filter display whole words) | unique

sounds need translate "whitespace" newlines:

strings file.txt | tr '[:blank:]' '\n' | sort -u 

Comments