#!/bin/sh if [ -z $1 ]; then echo "Search requires search string"; exit 1; fi grep -Irn "$1" .