And here is another: awk 'NF == 1' file
--
John.
In reply to Re: How can I read and print lines that has only one word from a file
by jmcnamara
in thread How can I read and print lines that has only one word from a file
by Gurr
| For: | Use: | ||
| & | & | ||
| < | < | ||
| > | > | ||
| [ | [ | ||
| ] | ] |