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.

10
  • How do you preserve the spacing done by column? From your awk command, it looks like a static number of spaces.
    – tomocafe
    Commented Nov 22, 2013 at 18:34
  • If I understand, that awk command will produce the same output as file I posted above... but I already tried sending that to column and it doesn't align right with the escape codes.
    – tomocafe
    Commented Nov 22, 2013 at 18:41
  • Nope... still prints the TAB instead of aligning. Also, the third field has spaces in it, and this only prints the first word of it.
    – tomocafe
    Commented Nov 22, 2013 at 18:48
  • How can it be? I've tested with your input? Which terminal type are you using?
    – hek2mgl
    Commented Nov 22, 2013 at 18:49
  • Do you have the word <tab> as delimiter, not a real tab?
    – hek2mgl
    Commented Nov 22, 2013 at 18:51