#!/bin/sh

# Counts the number of times first parameter (string) occurs in a
# file.


# Parameter 1: string
# Parameter 2: file
grep $1 $2 | wc -l


echo The number of parameters is $#
echo All the arguments:  $*
echo All the arguments: "$@"

