The UNIX and Linux Forums
>
Top Forums
>
UNIX for Dummies Questions & Answers
How to count the occurence of a character in a line
.
User Name
Remember Me?
Password
google unix.com
Forums
Register
Forum Rules
Links
Albums
FAQ
Members List
Calendar
Search
Today's Posts
Mark Forums Read
Thread
:
How to count the occurence of a character in a line
View Single Post in the UNIX and Linux Forums - Click on the Thread or Permalink to View Entire Thread -->
#
4
(
permalink
)
02-09-2009
Dipali
Registered User
Join Date: Feb 2009
Posts: 4
I have csv data with spaces like below:
1,number one,first
2,number two second
3, number three, third
i want to count no. of commas in each line.
how to achieve that.
Dipali
View Public Profile
Find all posts by Dipali
Find Dipali's past nominations received
Find Dipali's present nominations given