using unix command, how to add column which as same name for example add salary which as same name?...












-1
















This question already has an answer here:




  • awk - Group by and sum column values

    2 answers



  • Summing values if same second column value

    4 answers




name salary
pooja 1000
yashu 2000
gagan 3000
pooja 2000
yash 3000
pooja 2000
yashu 2000


Answer should be
pooja [sum of all salary],
yashu [sum of all salary]... conti










share|improve this question









New contributor




Pooja Shree is a new contributor to this site. Take care in asking for clarification, commenting, and answering.
Check out our Code of Conduct.











marked as duplicate by Christopher, Jeff Schaller, Jesse_b, GAD3R, Romeo Ninov 14 hours ago


This question has been asked before and already has an answer. If those answers do not fully address your question, please ask a new question.




















    -1
















    This question already has an answer here:




    • awk - Group by and sum column values

      2 answers



    • Summing values if same second column value

      4 answers




    name salary
    pooja 1000
    yashu 2000
    gagan 3000
    pooja 2000
    yash 3000
    pooja 2000
    yashu 2000


    Answer should be
    pooja [sum of all salary],
    yashu [sum of all salary]... conti










    share|improve this question









    New contributor




    Pooja Shree is a new contributor to this site. Take care in asking for clarification, commenting, and answering.
    Check out our Code of Conduct.











    marked as duplicate by Christopher, Jeff Schaller, Jesse_b, GAD3R, Romeo Ninov 14 hours ago


    This question has been asked before and already has an answer. If those answers do not fully address your question, please ask a new question.


















      -1












      -1








      -1









      This question already has an answer here:




      • awk - Group by and sum column values

        2 answers



      • Summing values if same second column value

        4 answers




      name salary
      pooja 1000
      yashu 2000
      gagan 3000
      pooja 2000
      yash 3000
      pooja 2000
      yashu 2000


      Answer should be
      pooja [sum of all salary],
      yashu [sum of all salary]... conti










      share|improve this question









      New contributor




      Pooja Shree is a new contributor to this site. Take care in asking for clarification, commenting, and answering.
      Check out our Code of Conduct.













      This question already has an answer here:




      • awk - Group by and sum column values

        2 answers



      • Summing values if same second column value

        4 answers




      name salary
      pooja 1000
      yashu 2000
      gagan 3000
      pooja 2000
      yash 3000
      pooja 2000
      yashu 2000


      Answer should be
      pooja [sum of all salary],
      yashu [sum of all salary]... conti





      This question already has an answer here:




      • awk - Group by and sum column values

        2 answers



      • Summing values if same second column value

        4 answers








      text-processing awk






      share|improve this question









      New contributor




      Pooja Shree is a new contributor to this site. Take care in asking for clarification, commenting, and answering.
      Check out our Code of Conduct.











      share|improve this question









      New contributor




      Pooja Shree is a new contributor to this site. Take care in asking for clarification, commenting, and answering.
      Check out our Code of Conduct.









      share|improve this question




      share|improve this question








      edited 14 hours ago









      Jesse_b

      12.1k23064




      12.1k23064






      New contributor




      Pooja Shree is a new contributor to this site. Take care in asking for clarification, commenting, and answering.
      Check out our Code of Conduct.









      asked 15 hours ago









      Pooja ShreePooja Shree

      1




      1




      New contributor




      Pooja Shree is a new contributor to this site. Take care in asking for clarification, commenting, and answering.
      Check out our Code of Conduct.





      New contributor





      Pooja Shree is a new contributor to this site. Take care in asking for clarification, commenting, and answering.
      Check out our Code of Conduct.






      Pooja Shree is a new contributor to this site. Take care in asking for clarification, commenting, and answering.
      Check out our Code of Conduct.




      marked as duplicate by Christopher, Jeff Schaller, Jesse_b, GAD3R, Romeo Ninov 14 hours ago


      This question has been asked before and already has an answer. If those answers do not fully address your question, please ask a new question.






      marked as duplicate by Christopher, Jeff Schaller, Jesse_b, GAD3R, Romeo Ninov 14 hours ago


      This question has been asked before and already has an answer. If those answers do not fully address your question, please ask a new question.
























          0






          active

          oldest

          votes

















          0






          active

          oldest

          votes








          0






          active

          oldest

          votes









          active

          oldest

          votes






          active

          oldest

          votes

          Popular posts from this blog

          Loup dans la culture

          How to solve the problem of ntp “Unable to contact time server” from KDE?

          Connection limited (no internet access)