#!/bin/bash # Program to count number of semi-colons in files. # # Written by: Chris Studholme # Last Update: 8-Jan-1999 # Copyright: GPL (http://www.fsf.org/copyleft/gpl.html) printf "semicolons:" cat $*|tr " " " "|tr ";" " "|wc -l