Strings in Strings by tails

b=$(word 2,$1)
f=$(if $b,$(if $(findstring $(word 1,$1),$b),$(call f,$(wordlist 2,9,$1)),NO),YES)
$(foreach l,$(strip $(subst $z ,!,$(STDIN))),$(info $(call f,$(subst !, ,$l))))

Note that non-ascii characters in the above source code will be escaped (such as \x9f).

To protect the system from spam, please input your favorite sport (hint: I believe its name must start with 'g', case insensitive)

download

return top