"No such file" with ksh, but script runs with ksh -x?

Published: 8/01/2020
"No such file" with ksh, but script runs with ksh -x?
Source: UNIX.STACKEXCHANGE.COM

I'm trying to execute a shell script on OpenBSD 5.7/amd64. Its a test script used to test a FOSS project. (OpenBSD is one of our targets because it provides an ancient compiler out of the box). When I attempt to run the script: $ ./cryptest.sh ksh: ./cryptest.sh: No such file or directory However, if I add -x for debugging, the script can magically be found: $ ksh -x ./cryptest.sh + TEST_RESULTS=

Read more
Related news
Comment
FACEBOOK