Re-orginize Text Pattern

Discussion in 'Programming' started by saudshah, May 15, 2011.

  1. #1
    hello,

    I guess this section is the best place to ask this weird question.

    I have huge .txt file contains some customers info.i want to re-arrange the whole text file. file current pattern is:

    Customer name Date of birth Phone Number City State

    i want to change pattern like this:

    Customer name City State Phone Number Date of birth


    any idea how to do?
     
    saudshah, May 15, 2011 IP
  2. mofta7y

    mofta7y Member

    Messages:
    29
    Likes Received:
    1
    Best Answers:
    0
    Trophy Points:
    38
    #2
    yes

    start looking at the documentation of sed and cut and awk

    post a sample of your file here if you want us to try to give you the exact command
     
    mofta7y, May 15, 2011 IP