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 11-26-2008
sumit207 sumit207 is offline
Registered User
  
 

Join Date: Nov 2008
Posts: 10
Smile How to count the occurence of a character in a line

Suppose i have data like :-

1,2,3,4,5
a,b,c
x,y,z,t


I want to count the occurence of , (comma) in every line.

Waiting for a solution.