0

I have a CSV file. The contents are as follows:

1, 10, 10, 10, 11, 100, 10, 101, 100, 10, 110, 90, 111

Is there a Linux command to take each comma, delete it, and put a newline on the end? So it looks more like this:

1 
10 
10
10
11 
100 
10
101
100
10
110
90
111

Help is appreciated! Thanks!

  • Does this answer your question? [Replace comma with newline in sed on MacOS?](https://stackoverflow.com/questions/10748453/replace-comma-with-newline-in-sed-on-macos) – Alex Apr 30 '21 at 22:52
  • @Alex No, thank you though. I am running Debian 10 Linux (Beta) on an HP Chromebook G14. – Ryan Ilari May 02 '21 at 17:49
  • Debian also has `sed`. The link also has a solution using `try tr , '\n'`. – Alex May 02 '21 at 20:35

0 Answers0