Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations MikeeOK on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

Recent content by jmk2

  1. jmk2

    data organisation using awk

    thanks again, you've made my life a lot easier!
  2. jmk2

    data organisation using awk

    Thanks "olded", this is a great start. Now I just need help to make the output sorted in the order I need (see my original message). Any hints to do this? Thanks again!
  3. jmk2

    data organisation using awk

    Hi, can anyone help me? I have input in the form: 1 67 2 45 3 34 4 78 1 36 2 56 3 36 4 47 1 48 2 35 3 79 4 23 . . . and I want output as such: 1 67 36 48 2 45 56 35 3 34 36 79 4 78 47 23 Thank you for your help!
  4. jmk2

    rearranging data

    thanks PHV I'll give it a try
  5. jmk2

    rearranging data

    Hi, I'm really new at awk/gawk/nawk and need help with what must be a simple problem, I have a test-inputdata set like this: 1 1 1 2 1 5 2 5 2 6 2 7 3 2 3 3 3 4 . . . 500 9 500 2 500 3 and I want the sum of all data with the same $1 (in other words when $1=1 sum up 1+2+5 (=8), when...

Part and Inventory Search

Back
Top