#!/bin/sh

if [ $# -ne 1 ]; then
	echo "Search for given pattern in all files from current directory."
	echo "Usage: $(basename $0) <pattern>"
	exit 1
fi

find . -type f -exec grep -nHE "$1" {} \;

