#!/bin/bash TAG=$1; PATH=$2; TYPE=$3 /usr/bin/find $PATH -name "*.$TYPE" -exec /usr/bin/grep -F "[$TAG]" {} \;