[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[ale] Bash script question
- Subject: [ale] Bash script question
- From: bkruger at mindspring.com (Bob Kruger)
- Date: Wed, 14 May 2003 20:00:51 -0400
Is there a utility that I can run from bash that I can use to determine
the number of times a certain character appears in a line?
Example - I want to determine the number of times a comma (,) appears in
the line:
Field1,Field2,Field3,
Yes, it can be done from Perl, but I would like to do this from bash.
Thanks in advance for any assistance.
Bob
_______________________________________________
Ale mailing list
Ale at ale.org
http://www.ale.org/mailman/listinfo/ale