Basic Text Editing?

Discussion in 'Tech Support' started by Tibby, 29 Nov 2007.

  1. Tibby

    Tibby Back Once Again

    Joined:
    9 Oct 2005
    Posts:
    2,882
    Likes Received:
    39
    Hey guys,

    I am just getting my feet wet with Linux, and am using Ivy at the moment.

    Just wondering how I would go about editing a txt file which has the columns on different lines to put them into whole lines with columns i.e.

    Looks like this:

    111111
    111111
    111111
    111111
    22222
    22222
    22222
    22222
    33333
    33333
    33333
    33333

    And I want it like this:

    11111 22222 33333
    11111 22222 33333
    11111 22222 33333
    etc.

    I am very fresh to this, and am messing about with grep and sed at the moment.

    Danke all!
     
  2. yakyb

    yakyb i hate the person above me

    Joined:
    10 Oct 2006
    Posts:
    2,064
    Likes Received:
    36
    open office version of excel to make columns then cut and paste into a txt file or am i missing something
     
  3. Tibby

    Tibby Back Once Again

    Joined:
    9 Oct 2005
    Posts:
    2,882
    Likes Received:
    39
    Got it sorted now, had to use some grep and sed.
     
  4. Fophillips

    Fophillips What's a Dremel?

    Joined:
    9 Oct 2006
    Posts:
    948
    Likes Received:
    1
    Mind telling us how you solved it?
     
Tags:

Share This Page