Replace commas with newlines

view full story

http://www.unix.com – Good afternoon, I am trying to read user input. Here is what I have so far: Code: echo "Type the Container ID for every container that you want subnets exported" echo "for (with comma between each one, for example... 1,45,98)" echo -n "if you want every one listed, then just type ALL in caps and press [ENTER]: " read containerid This is an example of what $containerid looks like when I do it: Code: 1,2,3,4 So my question is two fold. Am I getting the input the best way? Is there another way for every thing that the user enters be on a seperate li (HowTos)