Thursday, April 06, 2006

shell script to count characters in a string

Someone on irc was looking for a way to count the number of characters in a string, in Bourne shell ... so I wrote the following for him, all nicely commented and everything (which he didn't use anyway! hrmph!).

countchar.txt

No comments:

Post a Comment

Note: Only a member of this blog may post a comment.