#!/bin/sh
echo "First shell command create by MADMANJIM"
if [ "${1}" = "" ]; then
echo -e "${0}: systex error\nUsage:fw [NAME] [VALUE]"
exit
fi
if [ "${2}" = "" ]; then
NAME=""
VALUE="${1}"
else
NAME="-name ${1}"
VALUE="${2}"
fi
find $pwd ${NAME} -exec grep ${VALUE} {} -Hn \;

