Reputation: 7
I am trying to execute a shell script via cygwin sh scriptname.sh parameters
-Below are errors.
i've tried setting class path, cygwin home, installed perl but not change in output.
Your inputs/comments will be highly appreciated.
Upvotes: 0
Views: 317
Reputation: 115388
echo
before. It will print the whole command line instead of running it. Examine command line, check that classpath is defined correctly. dos2unix
not found means that this command indeed does not exist in your environment. I've just checked mine: it does not exist too. Refer to this discussion to find out how to install it. Alternatively use other shell. For example I use gitshell that has this utility. dos2unix
wasn't able to run, the OS is looking for an interpreter named /usr/bin/perl\r
(where \r
represents a Carriage Return) instead of /usr/bin/perl
, and no such file exists.Upvotes: 2