View Single Post
Old 2021-10-03, 16:06   #7
chris2be8's Avatar
Sep 2009

222110 Posts

What happens if you add set -x to the script? It should show you what the shell thinks the command it's executing is. Try it both in the small working script and the big one where it does not work. See the man page for bash for details (search for "SHELL BUILTIN COMMANDS" and scroll down).
chris2be8 is offline   Reply With Quote