Replace 'find' with builtin 'compgen'