Find all files with the extension ".sh" in the root directory and its subdirectories, then search for lines that start with any combination of letters, numbers, and underscores, followed by an open parenthesis and a closed parenthesis.
find / -iname "*.sh" | xargs grep -Ei '^[0-9A-Za-z_]+\s*\(\)'