Skip to main content

You are not logged in. Your edit will be placed in a queue until it is peer reviewed.

We welcome edits that make the post easier to understand and more valuable for readers. Because community members review edits, please try to make the post substantially better than how you found it, for example, by fixing grammar or adding additional resources and hyperlinks.

3
  • As I mentioned, I believe I have only chosen one column that could have a , which I have put at the end, however, this solution would remove the , from that column which I do not want. Commented Sep 1, 2014 at 13:19
  • Look at the output that generates and tell me if you think that's desirable :) Especially take notice of the command column. Commented Sep 1, 2014 at 13:19
  • That would be the same as tr ' ' ,. You probably want tr -s ' ' , here. Commented Sep 1, 2014 at 13:30