Hi,
I want to list all the words in my file on a separate line.
I am using the bourne(sh)/bourne again shell(bash).
Thanks,
theA
Hi,
I want to list all the words in my file on a separate line.
I am using the bourne(sh)/bourne again shell(bash).
Thanks,
theA
I'm not sure I understand what you are looking to do. What kind of file is it? Can you give a small example?
If you want each word in the file printed on a separate line, you can translate spaces to newlines with:
tr '[:space:]' '\n' < file