I have files that look something like the following: blah blah foo bar bar ... bar bar foo bar ... bar ....etc
The problem: I need to count the number of "bar's" between the "foo's". Any help would be GREATLY appreciated. Bob _______________________________________________ help-gnu-utils mailing list help-gnu-utils@gnu.org http://lists.gnu.org/mailman/listinfo/help-gnu-utils