I have tested it with double braces for the "&&" and have tried it against "" for null values however every time it does not move down to the else statement.
#!/bin/bash
#find | grep
#find -a {} | grep {search}
function fg {
if [ -z $1 ] && [ -z $2 ]; then
echo "Help: find {path} | grep {search} "
else
find $1 | grep $2
fi
}
fg