The UNIX and Linux Forums  

Go Back   The UNIX and Linux Forums > Top Forums > UNIX for Dummies Questions & Answers
.
google unix.com




View Single Post in the UNIX and Linux Forums - Click on the Thread or Permalink to View Entire Thread -->
  #1 (permalink)  
Old 08-24-2008
Nutter Nutter is offline
Registered User
  
 

Join Date: Aug 2008
Posts: 1
Smile Add comma to integer using AWK

Srr for being pain her
let say i have a data in a file like this

1@1000
2@2000
4@4000
5@7770
6@8998
7@80008

i am a newbie in Unix
i need to add a comma to integer using AWK function. for example, 1,000 or 80,008
how can i do that

ps. i'm using bash shell