#!/bin/bash if grep -rE --include="*.rs" "$1" .; then echo "'$1's found." exit 1 else echo "No '$1's found." exit 0 fi