#!/bin/sh -e
#
# fname - search filesystem from `.` upwards for the string

if command -v fd >/dev/null 2>&1; then
  fd ".*$*.*" .
else
  find . -iname "*$**"
fi
