I would like to print lines in my file which containing 3 words seperated my 2 spaces.
AAA BBB CCC BB AA CCCCCCCC
AAA BBB CCC sshould be printed.
I already use grep for it but I cant handle the spaces.
Unix & Linux Stack Exchange is a question and answer site for users of Linux, FreeBSD and other Un*x-like operating systems. It only takes a minute to sign up.Sign up to join this community