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.

Required fields*

4
  • 1
    Sounds a bit like you want us to do your homework. Can you elaborate on what you tried already? Commented May 19, 2015 at 20:56
  • Pardon me! I tried to cut column by column but result is just not satisfying. var=$( echo $line | cut -d ':' -f1-4 | tr ':' '\n' ) Commented May 19, 2015 at 21:46
  • please elaborate on how your result was not satisfying and use the edit functionality to add it to the question. It will be easier to help you that way :) Commented May 19, 2015 at 21:56
  • 1
    I added some code :). Hope now is better to understand. Thank you! Commented May 20, 2015 at 9:26