Need help in writing simple shell script to format names
Hi All, I just started learning shell scripts.
There is one text file names.txt having names seperated by comma like
Krishna,Pavana,Aravind,Alpha
How can i write a script using for loop to get those names output in seperate lines as
Krishna
Pavana
Aravind
Alpha
Use cut command also
Thanks in advance.
|